| Total Complexity | 7 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 9 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class Site |
||
| 16 | { |
||
| 17 | public static function url(): ?string |
||
| 18 | { |
||
| 19 | return config('site.url'); |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function name(): ?string |
||
| 23 | { |
||
| 24 | return config('site.name'); |
||
| 25 | } |
||
| 26 | |||
| 27 | public static function language(): ?string |
||
| 28 | { |
||
| 29 | return config('site.language'); |
||
| 30 | } |
||
| 31 | |||
| 32 | public static function metadata(): GlobalMetadataBag |
||
| 35 | } |
||
| 36 | |||
| 37 | public static function path(string $path = ''): string |
||
| 38 | { |
||
| 39 | return Hyde::kernel()->sitePath($path); |
||
| 40 | } |
||
| 41 | |||
| 42 | public static function getOutputDirectory(): string |
||
| 45 | } |
||
| 46 | |||
| 47 | public static function setOutputDirectory(string $outputDirectory): void |
||
| 50 | } |
||
| 51 | } |
||
| 52 |