alexislefebvre /
LiipFunctionalTestBundle
| 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 | /** |
||
| 17 | * @author Sullivan Senechal <[email protected]> |
||
| 18 | * |
||
| 19 | * @internal |
||
| 20 | */ |
||
| 21 | trait QueryCountClientSymfony3Trait |
||
| 22 | { |
||
| 23 | public function request( |
||
| 24 | $method, |
||
| 25 | $uri, |
||
| 26 | array $parameters = [], |
||
| 27 | array $files = [], |
||
| 28 | array $server = [], |
||
| 29 | $content = null, |
||
| 30 | $changeHistory = true |
||
| 31 | ) { |
||
| 32 | $crawler = parent::request($method, $uri, $parameters, $files, $server, $content, $changeHistory); |
||
| 33 | $this->checkQueryCount(); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 34 | |||
| 35 | return $crawler; |
||
| 36 | } |
||
| 37 | } |
||
| 38 |