1 | <?php |
||
21 | abstract class BaseFeatureContext implements SnippetAcceptingContext, KernelAwareContext |
||
|
|||
22 | { |
||
23 | /** |
||
24 | * @var KernelInterface |
||
25 | */ |
||
26 | protected $kernel; |
||
27 | |||
28 | /** |
||
29 | * @var Response |
||
30 | */ |
||
31 | protected static $response; |
||
32 | |||
33 | /** |
||
34 | * @param KernelInterface $kernel |
||
35 | */ |
||
36 | public function setKernel(KernelInterface $kernel) |
||
40 | |||
41 | /** |
||
42 | * Builds schema for all Doctrine's managers |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | public function buildSchemas() |
||
60 | |||
61 | /** |
||
62 | * Drops all databases |
||
63 | * |
||
64 | * @return void |
||
65 | */ |
||
66 | public function dropDatabases() |
||
75 | |||
76 | /** |
||
77 | * Closes all open database connections |
||
78 | * |
||
79 | * @return void |
||
80 | */ |
||
81 | public function closeDbalConnections() |
||
90 | |||
91 | /** |
||
92 | * @param string $method |
||
93 | * @param string $uri |
||
94 | * @param string|array $data |
||
95 | * @param array $headers |
||
96 | * @param array $server |
||
97 | * |
||
98 | * @return Response |
||
99 | */ |
||
100 | protected function request($method, $uri, $data = null, array $headers = [], array $server = []) |
||
117 | |||
118 | /** |
||
119 | * Creates a Client. |
||
120 | * |
||
121 | * @param array $server An array of server parameters |
||
122 | * |
||
123 | * @return Client A Client instance |
||
124 | */ |
||
125 | protected function createClient(array $server = []) |
||
134 | |||
135 | /** |
||
136 | * @param string $entityName |
||
137 | * @param array $rows |
||
138 | */ |
||
139 | protected function persistEntities($entityName, array $rows) |
||
174 | |||
175 | /** |
||
176 | * Returns the content of the current response. File responses will be read first. |
||
177 | * |
||
178 | * @return string |
||
179 | * |
||
180 | * @throws \RuntimeException |
||
181 | */ |
||
182 | protected function getResponseContent() |
||
195 | |||
196 | /** |
||
197 | * @return ContainerInterface |
||
198 | */ |
||
199 | protected function getContainer() |
||
203 | |||
204 | /** |
||
205 | * @param string $service |
||
206 | * |
||
207 | * @return object |
||
208 | */ |
||
209 | protected function get($service) |
||
213 | } |
||
214 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.