@@ -7,6 +7,9 @@ |
||
7 | 7 | |
8 | 8 | class Application extends Container |
9 | 9 | { |
10 | + /** |
|
11 | + * @param string $root |
|
12 | + */ |
|
10 | 13 | public function __construct($root) |
11 | 14 | { |
12 | 15 | parent::__construct(); |
@@ -19,6 +19,9 @@ |
||
19 | 19 | } |
20 | 20 | } |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $event |
|
24 | + */ |
|
22 | 25 | public function eventExists($event) |
23 | 26 | { |
24 | 27 | return $this->exists("events/$event"); |
@@ -47,6 +47,9 @@ |
||
47 | 47 | return is_array($data) ? $response : $response[0]; |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param Runner $runner |
|
52 | + */ |
|
50 | 53 | private function process($runner, $rpc) |
51 | 54 | { |
52 | 55 | if (!property_exists($rpc, 'job')) { |
@@ -22,6 +22,9 @@ |
||
22 | 22 | return $artifacts; |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param string $type |
|
27 | + */ |
|
25 | 28 | public function map($type) |
26 | 29 | { |
27 | 30 | $mapping = []; |
@@ -26,6 +26,9 @@ |
||
26 | 26 | $this->dispatch('tarantool.clear'); |
27 | 27 | } |
28 | 28 | |
29 | + /** |
|
30 | + * @param string $job |
|
31 | + */ |
|
29 | 32 | public function dispatch($job, $params = []) |
30 | 33 | { |
31 | 34 | return $this->app->dispatch($job, $params); |