Heyday\CacheInclude\ManagerController
Synopsis
class ManagerController
extends Controller
{
- // members
- protected Manager $fractal;
- protected CacheModel $cacheModel;
- protected React $react;
- // methods
- public void __construct()
- public SSViewer getViewer()
- public string ManagerComponent()
- public void init()
- protected bool hasAccess()
- public string index()
- public SS_HTTPResponse cache()
- protected SS_HTTPResponse cacheGET()
- protected SS_HTTPResponse cacheDELETE()
- protected string resourceToJson()
- protected array resourceToArray()
- protected Item getSuccessResource()
- public bool isLive()
Hierarchy
Extends
- Controller
Members
protected
- $cacheModel — \Heyday\CacheInclude\CacheModel
- $fractal — \League\Fractal\Manager
- $react — \ReactJS\React
Methods
protected
public
- __construct()
- ManagerComponent()
- cache()
- getViewer()
- index()
- init() — Check the permissions
- isLive() — Template helper method to check if live