| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class ResourceException extends \Exception |
||
| 17 | { |
||
| 18 | public static function nullModelPath(): self |
||
| 19 | { |
||
| 20 | return new self( |
||
| 21 | 'Model direktori tidak boleh bernilai null' |
||
| 22 | ); |
||
| 23 | } |
||
| 24 | |||
| 25 | public static function modelDirNotExists(string $dir): self |
||
| 26 | { |
||
| 27 | return new self(sprintf( |
||
| 28 | 'Model direktori "%s" tidak ditemukan.', |
||
| 29 | $dir |
||
| 30 | )); |
||
| 31 | } |
||
| 32 | |||
| 33 | public static function doctrineExtensionClassNotExists(string $class): self |
||
| 38 | )); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |