| 1 | <?php |
||
| 13 | class BadMethodCallException extends \BadMethodCallException |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param string $method |
||
| 17 | * @param string $class |
||
| 18 | * |
||
| 19 | * @return self |
||
| 20 | */ |
||
| 21 | 22 | public static function noStaticMethod($method, $class) |
|
| 22 | { |
||
| 23 | 22 | return new self(sprintf('No static method "%s" in class "%s".', $method, $class)); |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $method |
||
| 28 | * @param string $class |
||
| 29 | * |
||
| 30 | * @return self |
||
| 31 | */ |
||
| 32 | public static function noMethod($method, $class) |
||
| 36 | } |
||
| 37 |