コード例 #1
0
 public function testAdd_JobFactoryExceptionRaised()
 {
     $this->setExpectedException('Aureja\\JobQueue\\Exception\\JobFactoryException', 'Not found aureja_job job factory');
     $this->registry->getFactory('aureja_job');
 }
コード例 #2
0
ファイル: JobProvider.php プロジェクト: dpk125/JobQueue
 /**
  * {@inheritdoc}
  */
 public function getFactory(JobConfigurationInterface $configuration)
 {
     return $this->factoryRegistry->getFactory($configuration->getFactory());
 }