Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class FuncNotFoundException extends RuntimeException implements NotFoundExceptionInterface |
||
10 | { |
||
11 | protected $func; |
||
12 | |||
13 | 2 | public function __construct(string $message, string $func = '', Throwable $previous = null) |
|
14 | { |
||
15 | 2 | $this->message = $message; |
|
16 | 2 | $this->func = $func; |
|
17 | |||
18 | 2 | parent::__construct($message, 0, $previous); |
|
19 | 2 | } |
|
20 | |||
21 | /** |
||
22 | * 获取方法名 |
||
23 | * @access public |
||
24 | * @return string |
||
25 | */ |
||
26 | public function getFunc() |
||
29 | } |
||
30 | } |
||
31 |