1 | <?php |
||
23 | class EnvironmentBuilder implements EnvironmentBuilderInterface |
||
24 | { |
||
25 | /** |
||
26 | * Set up environment |
||
27 | * |
||
28 | * @param KernelInterface $kernel Kernel |
||
29 | * |
||
30 | * @return $this Self object |
||
31 | */ |
||
32 | public function setUp(KernelInterface $kernel) |
||
36 | |||
37 | /** |
||
38 | * Tear down environment |
||
39 | * |
||
40 | * @param KernelInterface $kernel Kernel |
||
41 | * |
||
42 | * @return $this Self object |
||
43 | */ |
||
44 | public function tearDown(KernelInterface $kernel) |
||
48 | |||
49 | /** |
||
50 | * Get authenticated user |
||
51 | * |
||
52 | * @param string $role Role |
||
53 | * |
||
54 | * @return mixed User for authentication |
||
55 | */ |
||
56 | public function getAuthenticationUser($role) |
||
60 | } |
||
61 |