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