@@ -45,16 +45,26 @@ |
||
| 45 | 45 | ); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @param string $namespace |
|
| 50 | + * @param string $config |
|
| 51 | + */ |
|
| 48 | 52 | protected function givenConfig($namespace, $config) |
| 49 | 53 | { |
| 50 | 54 | static::$kernel->loadConfig($namespace, Yaml::parse((string) $config)); |
| 51 | 55 | } |
| 52 | 56 | |
| 57 | + /** |
|
| 58 | + * @param string $serviceId |
|
| 59 | + */ |
|
| 53 | 60 | protected function registerService($serviceId, $className, array $tags) |
| 54 | 61 | { |
| 55 | 62 | static::$kernel->addServiceToRegister($serviceId, $className, $tags); |
| 56 | 63 | } |
| 57 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $busId |
|
| 67 | + */ |
|
| 58 | 68 | protected function handleCommand($busId, $commandClass, array $args) |
| 59 | 69 | { |
| 60 | 70 | $class = new \ReflectionClass($commandClass); |
@@ -22,6 +22,9 @@ |
||
| 22 | 22 | ]; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @param string $dir |
|
| 27 | + */ |
|
| 25 | 28 | public function defineCacheDir($dir) |
| 26 | 29 | { |
| 27 | 30 | $this->cacheDir = $dir; |
@@ -11,6 +11,9 @@ |
||
| 11 | 11 | ); |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param string $serviceId |
|
| 16 | + */ |
|
| 14 | 17 | private static function completeHelpMessage($serviceId) |
| 15 | 18 | { |
| 16 | 19 | $helpMessages = [ |