/** * AbstractView constructor. * * @param ViewConfigurationInterface $context */ public function __construct(ViewConfigurationInterface $context) { $this->context = $context; // Context - for symbols and variables parent::__construct($context->settings()); $this->scope = $context->globalScope(); $this->events = $context->events(); }
/** * GlobalScope constructor. * * @param FactoryInterface $factory Requires the AppFactory for access to the environment. */ public function __construct(FactoryInterface $factory = NULL) { parent::__construct($factory ? $factory::getEnvironment() : ['developing' => env('APP_ENV', 'PRODUCTION') !== 'PRODUCTION', 'app_key' => env('APP_KEY', '[set me]'), 'debugging' => env('DEBUG', FALSE), 'testing' => env('TESTING', FALSE)]); }
/** * BladeScope constructor. * * @param array $twig_settings */ public function __construct($twig_settings) { parent::__construct($twig_settings); }
/** * BladeScope constructor. * * @param array $context_settings - */ public function __construct($context_settings) { parent::__construct($context_settings); }