@@ -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; |
@@ -3,11 +3,11 @@ |
||
3 | 3 | namespace League\Tactician\Bundle\Tests\Integration; |
4 | 4 | |
5 | 5 | use League\Tactician\Bundle\Tests\Fake\FakeCommand; |
6 | -use stdClass; |
|
7 | 6 | use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; |
8 | 7 | use Symfony\Component\Security\Core\Authentication\Token\AnonymousToken; |
9 | 8 | use Symfony\Component\Security\Core\Exception\AccessDeniedException; |
10 | 9 | use Symfony\Component\Security\Core\Role\Role; |
10 | +use stdClass; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Integration test for security middleware. |
@@ -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); |