1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | /* |
||
6 | * This file is part of the Liip/FunctionalTestBundle |
||
7 | * |
||
8 | * (c) Lukas Kahwe Smith <[email protected]> |
||
9 | * |
||
10 | * This source file is subject to the MIT license that is bundled |
||
11 | * with this source code in the file LICENSE. |
||
12 | */ |
||
13 | |||
14 | namespace Liip\FunctionalTestBundle; |
||
15 | |||
16 | use Symfony\Component\DomCrawler\Crawler; |
||
17 | |||
18 | /** |
||
19 | * @author Sullivan Senechal <[email protected]> |
||
20 | * |
||
21 | * @internal |
||
22 | */ |
||
23 | trait QueryCountClientTrait |
||
24 | { |
||
25 | public function request( |
||
26 | string $method, |
||
27 | string $uri, |
||
28 | array $parameters = [], |
||
29 | array $files = [], |
||
30 | array $server = [], |
||
31 | string $content = null, |
||
32 | bool $changeHistory = true |
||
33 | ): Crawler { |
||
34 | $crawler = parent::request($method, $uri, $parameters, $files, $server, $content, $changeHistory); |
||
35 | $this->checkQueryCount(); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
36 | |||
37 | return $crawler; |
||
38 | } |
||
39 | } |
||
40 |