@@ -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; |
@@ -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( |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Mockery; |
8 | 8 | use PHPUnit\Framework\TestCase; |
9 | 9 | use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
10 | -use Symfony\Component\Security\Core\Authorization\AccessDecisionManager; |
|
11 | 10 | use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface; |
12 | 11 | use Symfony\Component\Security\Core\Role\Role; |
13 | 12 |