Пример #1
0
 /**
  * RouteException constructor.
  *
  * @param AppNamespace  $namespace
  * @param AppModule     $module
  * @param AppController $controller
  * @param AppMethod     $method
  */
 public function __construct(AppNamespace $namespace, AppModule $module, AppController $controller, AppMethod $method)
 {
     parent::__construct();
     $this->namespace = $namespace;
     $this->module = $module;
     $this->controller = $controller;
     $this->method = $method;
 }
 /**
  * AppMethodsController constructor.
  *
  * @param AppMethod     $method
  * @param AppController $controller
  */
 public function __construct(AppMethod $method, AppController $controller)
 {
     parent::__construct();
     $this->methodModel = $method;
     $this->controllerModel = $controller;
 }
 /**
  * AppModulesController constructor.
  *
  * @param AppModule    $module
  * @param AppNamespace $namespace
  */
 public function __construct(AppModule $module, AppNamespace $namespace)
 {
     parent::__construct();
     $this->dataModel = $module;
     $this->namespaceModel = $namespace;
 }
Пример #4
0
 /**
  * SyncController constructor.
  *
  * @param AppNamespace $namespace
  */
 public function __construct(AppNamespace $namespace)
 {
     parent::__construct();
     $this->namespace = $namespace;
     $this->pathBuilder = new PathBuilder();
 }
 /**
  * AppNamespaceController constructor.
  *
  * @param AppNamespace $namespace
  */
 public function __construct(AppNamespace $namespace)
 {
     parent::__construct();
     $this->dataModel = $namespace;
 }
 /**
  * AppControllersController constructor.
  *
  * @param AppController $controller
  * @param AppModule     $module
  */
 public function __construct(AppController $controller, AppModule $module)
 {
     parent::__construct();
     $this->dataModel = $controller;
     $this->moduleModel = $module;
 }
 /**
  * ExceptionController constructor.
  *
  * @param Filesystem $fs
  */
 public function __construct(Filesystem $fs)
 {
     parent::__construct();
     $this->fs = $fs;
     $this->config = config('modulair-router');
 }