| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Contract\Core\Exception; |
| 4: | |
| 5: | use Throwable; |
| 6: | |
| 7: | /** |
| 8: | * @api |
| 9: | */ |
| 10: | interface MethodNotImplementedException extends Throwable |
| 11: | { |
| 12: | /** |
| 13: | * Get the name of the class that has not implemented the method |
| 14: | * |
| 15: | * @return class-string |
| 16: | */ |
| 17: | public function getClass(): string; |
| 18: | |
| 19: | /** |
| 20: | * Get the name of the method that is not implemented |
| 21: | */ |
| 22: | public function getMethod(): string; |
| 23: | |
| 24: | /** |
| 25: | * Get the name of the class or interface where the unimplemented method is |
| 26: | * defined |
| 27: | * |
| 28: | * @return class-string |
| 29: | */ |
| 30: | public function getPrototypeClass(): string; |
| 31: | } |
| 32: |