/** * {@inheritdoc} */ public function setContainer(ContainerInterface $container = null) { parent::setContainer($container); $this->cleanup = $this->container->getParameter('remove_complete_deposits'); $this->client = $container->get('sword_client'); $this->client->setLogger($this->logger); }
/** * {@inheritdoc} */ public function setContainer(ContainerInterface $container = null) { parent::setContainer($container); $this->client = $container->get('sword_client'); $this->client->setLogger($this->logger); }
/** * {@inheritdoc} */ public function setContainer(ContainerInterface $container = null) { parent::setContainer($container); $scannerPath = $container->getParameter('clamdscan_path'); $this->scanner = new ClamAvAdapter($scannerPath); }