1 | <?php |
||
18 | class JobConsume extends Command |
||
19 | { |
||
20 | use BuildsSerializer; |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | protected $signature = 'job:consume'; |
||
26 | |||
27 | /** |
||
28 | * @var PsrContext |
||
29 | */ |
||
30 | private $context; |
||
31 | |||
32 | /** |
||
33 | * @var Container |
||
34 | */ |
||
35 | private $container; |
||
36 | |||
37 | /** |
||
38 | * @var ManagerRegistry|null |
||
39 | */ |
||
40 | private $managerRegistry; |
||
41 | |||
42 | /** |
||
43 | * @param PsrContext $context |
||
44 | * @param SerializerBuilder $serializerBuilder |
||
45 | * @param Container $container |
||
46 | * @param ManagerRegistry|null $managerRegistry |
||
47 | */ |
||
48 | 3 | public function __construct( |
|
60 | |||
61 | /** |
||
62 | * @throws \Doctrine\Common\Persistence\Mapping\MappingException |
||
63 | * @throws \Doctrine\ORM\ORMException |
||
64 | * @throws \Doctrine\ORM\OptimisticLockException |
||
65 | */ |
||
66 | public function handle() |
||
73 | |||
74 | /** |
||
75 | * @return PsrConsumer |
||
76 | */ |
||
77 | protected function createConsumer(): PsrConsumer |
||
84 | |||
85 | /** |
||
86 | * @param PsrConsumer $consumer |
||
87 | */ |
||
88 | 3 | protected function consume(PsrConsumer $consumer) |
|
122 | |||
123 | /** |
||
124 | * @param PsrMessage $message |
||
125 | * @param int $delay |
||
126 | * @return PsrMessage |
||
127 | */ |
||
128 | protected function delayMessage(PsrMessage $message, int $delay) |
||
136 | } |
||
137 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.