@@ -32,7 +32,6 @@ |
||
| 32 | 32 | * |
| 33 | 33 | * @param AccessDecisionManagerInterface $decisionManager |
| 34 | 34 | * @param array $commandRoleMapping |
| 35 | - * @param string $defaultRole |
|
| 36 | 35 | */ |
| 37 | 36 | public function __construct(AccessDecisionManagerInterface $decisionManager, array $commandRoleMapping = []) |
| 38 | 37 | { |
@@ -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); |
@@ -36,7 +36,6 @@ |
||
| 36 | 36 | * @param type $attribute |
| 37 | 37 | * @param type $subject |
| 38 | 38 | * @param type $decision |
| 39 | - * @param type $default |
|
| 40 | 39 | * @param type $mapping |
| 41 | 40 | * @param type $expected |
| 42 | 41 | * |
@@ -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; |
@@ -4,6 +4,9 @@ |
||
| 4 | 4 | |
| 5 | 5 | class UnknownMiddlewareException extends \RuntimeException |
| 6 | 6 | { |
| 7 | + /** |
|
| 8 | + * @param string $serviceId |
|
| 9 | + */ |
|
| 7 | 10 | public static function withId($serviceId) |
| 8 | 11 | { |
| 9 | 12 | return new static( |