| 1 | <?php |
||
| 7 | final class NotObjectException extends \InvalidArgumentException |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param string $type |
||
| 11 | * |
||
| 12 | * @return self |
||
| 13 | */ |
||
| 14 | 1 | public static function createByType(string $type): self |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @param string $type |
||
| 21 | * @param string $path |
||
| 22 | * |
||
| 23 | * @return self |
||
| 24 | */ |
||
| 25 | 1 | public static function createByTypeAndPath(string $type, string $path): self |
|
| 29 | } |
||
| 30 |