Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 /**
  * 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)]);
 }
Ejemplo n.º 3
0
 /**
  * BladeScope constructor.
  *
  * @param array $twig_settings
  */
 public function __construct($twig_settings)
 {
     parent::__construct($twig_settings);
 }
Ejemplo n.º 4
0
 /**
  * BladeScope constructor.
  *
  * @param array $context_settings -
  */
 public function __construct($context_settings)
 {
     parent::__construct($context_settings);
 }