@@ -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; |
@@ -46,16 +46,26 @@ |
||
| 46 | 46 | ); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | + /** |
|
| 50 | + * @param string $namespace |
|
| 51 | + * @param string $config |
|
| 52 | + */ |
|
| 49 | 53 | protected function givenConfig($namespace, $config) |
| 50 | 54 | { |
| 51 | 55 | static::$kernel->loadConfig($namespace, Yaml::parse((string) $config)); |
| 52 | 56 | } |
| 53 | 57 | |
| 58 | + /** |
|
| 59 | + * @param string $serviceId |
|
| 60 | + */ |
|
| 54 | 61 | protected function registerService($serviceId, $className, array $tags) |
| 55 | 62 | { |
| 56 | 63 | static::$kernel->addServiceToRegister($serviceId, $className, $tags); |
| 57 | 64 | } |
| 58 | 65 | |
| 66 | + /** |
|
| 67 | + * @param string $busId |
|
| 68 | + */ |
|
| 59 | 69 | protected function handleCommand($busId, $commandClass, array $args = []) |
| 60 | 70 | { |
| 61 | 71 | $class = new \ReflectionClass($commandClass); |