Exemplo n.º 1
0
 /**
  * {@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);
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function setContainer(ContainerInterface $container = null)
 {
     parent::setContainer($container);
     $this->client = $container->get('sword_client');
     $this->client->setLogger($this->logger);
 }
Exemplo n.º 3
0
 /**
  * {@inheritdoc}
  */
 public function setContainer(ContainerInterface $container = null)
 {
     parent::setContainer($container);
     $scannerPath = $container->getParameter('clamdscan_path');
     $this->scanner = new ClamAvAdapter($scannerPath);
 }