| 1 | <?php |
||
| 5 | class Framework |
||
| 6 | { |
||
| 7 | const PHP = 'PHP'; |
||
| 8 | const LARAVEL = 'Laravel'; |
||
| 9 | |||
| 10 | protected static $name = 'PHP'; |
||
| 11 | |||
| 12 | public static function setName(string $name) |
||
| 16 | |||
| 17 | public static function php() |
||
| 21 | |||
| 22 | public static function isPhp(): bool |
||
| 26 | |||
| 27 | public static function laravel() |
||
| 31 | |||
| 32 | public static function isLaravel(): bool |
||
| 36 | } |
||
| 37 |