| Total Complexity | 6 |
| Total Lines | 53 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class KernelBrowser extends BrowserKitBrowser implements ProfileAware |
||
| 14 | { |
||
| 15 | final public function __construct(SymfonyKernelBrowser $inner) |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * By default, exceptions made during a request are caught and converted |
||
| 22 | * to responses by Symfony. This disables this behaviour and actually |
||
| 23 | * throws the exception. |
||
| 24 | * |
||
| 25 | * @return static |
||
| 26 | */ |
||
| 27 | final public function throwExceptions(): self |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Re-enables catching exceptions. |
||
| 36 | * |
||
| 37 | * @return static |
||
| 38 | */ |
||
| 39 | final public function catchExceptions(): self |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Enable profiling for the next request. Not required if profiling is |
||
| 48 | * globally enabled. |
||
| 49 | * |
||
| 50 | * @return static |
||
| 51 | */ |
||
| 52 | final public function withProfiling(): self |
||
| 57 | } |
||
| 58 | |||
| 59 | final public function profile(): Profile |
||
| 68 |