/** * 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']); }
/** * @param Container $container DI container. * @return void */ public function setDependencies(Container $container) { parent::setDependencies($container); // Required ObjectContainerInterface dependencies $this->setWidgetFactory($container['widget/factory']); }
/** * 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); }
/** * Dependencies * @param Container $container DI Container. * @return void */ public function setDependencies(Container $container) { parent::setDependencies($container); $this->setCollectionLoader($container['model/collection/loader']); }
/** * @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']); }