src/Infrastructure/Ui/Console/Laravel/Command/JobConsume.php 1 location
|
@@ 35-44 (lines=10) @@
|
| 32 |
|
* @param ManagerRegistry|null $managerRegistry |
| 33 |
|
* @param LoggerInterface|null $logger |
| 34 |
|
*/ |
| 35 |
|
public function __construct( |
| 36 |
|
ConsumeStoredJobService $consumeStoredJobService, |
| 37 |
|
ManagerRegistry $managerRegistry = null, |
| 38 |
|
LoggerInterface $logger = null |
| 39 |
|
) { |
| 40 |
|
parent::__construct(); |
| 41 |
|
$this->consumeStoredJobService = $consumeStoredJobService; |
| 42 |
|
$this->setManagerRegistry($managerRegistry); |
| 43 |
|
$this->setLogger(null !== $logger ? $logger : new NullLogger); |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
public function handle() |
| 47 |
|
{ |
src/Infrastructure/Ui/Console/Laravel/Command/JobEnqueueSingle.php 1 location
|
@@ 36-45 (lines=10) @@
|
| 33 |
|
* @param ManagerRegistry|null $managerRegistry |
| 34 |
|
* @param LoggerInterface|null $logger |
| 35 |
|
*/ |
| 36 |
|
public function __construct( |
| 37 |
|
EnqueueSingleStoredJobService $service, |
| 38 |
|
ManagerRegistry $managerRegistry = null, |
| 39 |
|
LoggerInterface $logger = null |
| 40 |
|
) { |
| 41 |
|
parent::__construct(); |
| 42 |
|
$this->service = $service; |
| 43 |
|
$this->setManagerRegistry($managerRegistry); |
| 44 |
|
$this->setLogger(null !== $logger ? $logger : new NullLogger); |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
/** |
| 48 |
|
* @throws FailedToEnqueueStoredJobException |
src/Infrastructure/Ui/Console/Laravel/Command/JobEnqueue.php 1 location
|
@@ 40-49 (lines=10) @@
|
| 37 |
|
* @param ManagerRegistry|null $managerRegistry |
| 38 |
|
* @param LoggerInterface|null $logger |
| 39 |
|
*/ |
| 40 |
|
public function __construct( |
| 41 |
|
EnqueueStoredJobsService $service, |
| 42 |
|
ManagerRegistry $managerRegistry = null, |
| 43 |
|
LoggerInterface $logger = null |
| 44 |
|
) { |
| 45 |
|
parent::__construct(); |
| 46 |
|
$this->service = $service; |
| 47 |
|
$this->setManagerRegistry($managerRegistry); |
| 48 |
|
$this->setLogger(null !== $logger ? $logger : new NullLogger); |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
public function handle() |
| 52 |
|
{ |