/** * Construct an instance of a StructuredModule. * * @param Container $container */ public function __construct(Container $container) { parent::__construct(); $this->register('index', StructuredModuleController::class, 'getIndex', 'Database Problems'); $this->register('all', StructuredModuleController::class, 'getAll', 'All Migrations'); $this->container = $container; }
/** * Construct an instance of a FrontModule. */ public function __construct() { parent::__construct(); $this->register('index', FrontModuleController::class, 'getIndex', 'Home'); $this->register('modules', FrontModuleController::class, 'getModules', 'Modules'); $this->register('issues', FrontModuleController::class, 'getIssues', 'Module issues'); }
/** * Construct an instance of a HttpModule. */ public function __construct() { parent::__construct(); $this->register('index', HttpModuleController::class, 'getIndex', 'All Routes'); $this->register('middleware', HttpModuleController::class, 'getRouterMiddleware', 'Middleware'); $this->register('patterns', HttpModuleController::class, 'getPatterns', 'Patterns'); }
/** * Construct an instance of a ApplicationModule. * * @param Container $container */ public function __construct(Container $container) { parent::__construct(); $this->container = $container; $this->register('index', ApplicationController::class, 'getIndex', 'Summary'); $this->register('prose', ApplicationController::class, 'getProse', 'Documentation'); $this->register('single', ApplicationController::class, 'getSingle', 'Sngle Item', HttpMethods::GET, true); }
public function __construct(Container $container) { parent::__construct(); $this->container = $container; $this->register('index', JobsModuleController::class, 'getIndex', 'All Jobs'); $this->register('scheduled', JobsModuleController::class, 'getScheduled', 'Scheduled Jobs'); $this->register('queued', JobsModuleController::class, 'getQueued', 'Queued Jobs'); $this->register('failed', JobsModuleController::class, 'getFailed', 'Failed Jobs'); $this->register('reference', JobsModuleController::class, 'getReference', 'Reference'); $this->register('reference.single', JobsModuleController::class, 'getReferenceSingle', 'Single Task Reference', 'GET', true); }