@@ -22,6 +22,7 @@ |
||
22 | 22 | * @throws Exception\MultipleProcessorsException Thrown, when multiple processors are registered on same command classes. |
23 | 23 | * |
24 | 24 | * @see CommandInterface |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function registerProcessorForCommand($commandClassName, CommandProcessorInterface $service); |
27 | 28 |
@@ -18,6 +18,7 @@ |
||
18 | 18 | * |
19 | 19 | * @param string $commandExpression |
20 | 20 | * @param string $poolName |
21 | + * @return void |
|
21 | 22 | */ |
22 | 23 | public function addCommandRoute($commandExpression, $poolName); |
23 | 24 | } |
@@ -23,6 +23,7 @@ |
||
23 | 23 | * @param string $pool Send driver pool name. |
24 | 24 | * @param SendDriverInterface $sendDriver |
25 | 25 | * @param boolean $isDefault If true, added pool is marked as default. |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function addSendDriver($pool, SendDriverInterface $sendDriver, $isDefault = false); |
28 | 29 | } |
@@ -15,6 +15,7 @@ |
||
15 | 15 | * Set send driver for command queue. |
16 | 16 | * |
17 | 17 | * @param SendDriverInterface $sendDriver |
18 | + * @return void |
|
18 | 19 | */ |
19 | 20 | public function setSendDriver(SendDriverInterface $sendDriver); |
20 | 21 | } |
@@ -22,6 +22,7 @@ |
||
22 | 22 | * @param CommandInterface $command |
23 | 23 | * |
24 | 24 | * @throws RuntimeException Thrown, when send driver is not yet set. |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function sendCommand(CommandInterface $command); |
27 | 28 | } |
@@ -36,6 +36,7 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * {@inheritdoc} |
39 | + * @param string $poolName |
|
39 | 40 | */ |
40 | 41 | public function addRoute($expression, $poolName) |
41 | 42 | { |
@@ -49,6 +50,7 @@ discard block |
||
49 | 50 | |
50 | 51 | /** |
51 | 52 | * {@inheritdoc} |
53 | + * @param string $route |
|
52 | 54 | */ |
53 | 55 | public function setDefault($route) |
54 | 56 | { |
@@ -15,6 +15,7 @@ |
||
15 | 15 | * Send command for processing. |
16 | 16 | * |
17 | 17 | * @param CommandInterface $command |
18 | + * @return void |
|
18 | 19 | */ |
19 | 20 | public function send(CommandInterface $command); |
20 | 21 | } |
@@ -29,6 +29,7 @@ |
||
29 | 29 | * Set processor factory. |
30 | 30 | * |
31 | 31 | * @param ProcessorFactoryInterface $processorFactory |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function setProcessorFactory(ProcessorFactoryInterface $processorFactory); |
34 | 35 | } |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | call_user_func(function() { |
4 | - $autoloadFile = __DIR__ . '/../../../../vendor/autoload.php'; |
|
4 | + $autoloadFile = __DIR__.'/../../../../vendor/autoload.php'; |
|
5 | 5 | if (!is_file($autoloadFile)) { |
6 | 6 | throw new LogicException('Could not find vendor/autoload.php. Did you forget to run "composer install --dev"?'); |
7 | 7 | } |