1 | <?php |
||
5 | class RegexCompileException extends \RuntimeException implements ExceptionInterface |
||
6 | { |
||
7 | /** |
||
8 | * Holds any context vars for this exception. |
||
9 | * |
||
10 | * @var array |
||
11 | */ |
||
12 | protected $context; |
||
13 | |||
14 | /** |
||
15 | * File where this happened. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $file; |
||
20 | |||
21 | /** |
||
22 | * Line number in the file. |
||
23 | * |
||
24 | * @var int |
||
25 | */ |
||
26 | protected $line; |
||
27 | |||
28 | public function __construct($msg, $code, $file, $line, array $context, \Exception $previous = null) |
||
35 | } |
||
36 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.