コード例 #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}
  */
 protected function configure()
 {
     $this->setName('pln:validate-payload');
     $this->setDescription('Validate PLN deposit packages.');
     parent::configure();
 }
コード例 #3
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('pln:harvest');
     $this->setDescription('Harvest OJS deposits.');
     parent::configure();
 }
コード例 #4
0
 /**
  * {@inheritdoc}
  */
 public function setContainer(ContainerInterface $container = null)
 {
     parent::setContainer($container);
     $this->client = $container->get('sword_client');
     $this->client->setLogger($this->logger);
 }
コード例 #5
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('pln:virus-scan');
     $this->setDescription('Scan deposit packages for viruses.');
     parent::configure();
 }
コード例 #6
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('pln:validate-xml');
     $this->setDescription('Validate OJS XML export files.');
     parent::configure();
 }
コード例 #7
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('pln:reserialize');
     $this->setDescription('Reserialize the deposit bag.');
     parent::configure();
 }
コード例 #8
0
 protected function configure()
 {
     $this->setName('test:empty:cmd');
     $this->setDescription('PLN Processing Command that does nothing.');
     parent::configure();
 }