/**
  * Inject dependencies from a DI Container.
  *
  * @param  Container $container A dependencies container instance.
  * @return void
  */
 public function setDependencies(Container $container)
 {
     parent::setDependencies($container);
     $this->baseUrl = $container['base-url'];
     $this->elfinderConfig = $container['elfinder/config'];
     $this->setPropertyFactory($container['property/factory']);
     $this->setCallableResolver($container['callableResolver']);
 }
Exemplo n.º 2
0
 /**
  * @param Container $container DI container.
  * @return void
  */
 public function setDependencies(Container $container)
 {
     parent::setDependencies($container);
     // Required ObjectContainerInterface dependencies
     $this->setWidgetFactory($container['widget/factory']);
 }
Exemplo n.º 3
0
 /**
  * Inject dependencies from a DI Container.
  *
  * @param  Container $container A dependencies container instance.
  * @return void
  */
 public function setDependencies(Container $container)
 {
     $this->propertyFactory = $container['property/factory'];
     parent::setDependencies($container);
 }
Exemplo n.º 4
0
 /**
  * Dependencies
  * @param Container $container DI Container.
  * @return void
  */
 public function setDependencies(Container $container)
 {
     parent::setDependencies($container);
     $this->setCollectionLoader($container['model/collection/loader']);
 }
Exemplo n.º 5
0
 /**
  * @param Container $dependencies The DI container.
  * @return void
  */
 public function setDependencies(Container $dependencies)
 {
     parent::setdependencies($dependencies);
     $this->widgetFactory = $dependencies['widget/factory'];
     $this->widgetView = $dependencies['view'];
 }
 /**
  * @param Container $container A DI Container.
  * @return void
  */
 public function setDependencies(Container $container)
 {
     parent::setDependencies($container);
     // Fulfills `ObjectContainerTrait` dependencies.
     $this->setModelFactory($container['model/factory']);
 }
 /**
  * @param Container $container Pimple DI Container.
  * @return void
  */
 public function setDependencies(Container $container)
 {
     parent::setDependencies($container);
     $this->setEmailFactory($container['email/factory']);
 }