Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class Site |
||
17 | { |
||
18 | protected static string $outputPath = '_site'; |
||
19 | |||
20 | public static function url(): ?string |
||
21 | { |
||
22 | return config('site.url'); |
||
23 | } |
||
24 | |||
25 | public static function name(): ?string |
||
26 | { |
||
27 | return config('site.name'); |
||
28 | } |
||
29 | |||
30 | public static function language(): ?string |
||
31 | { |
||
32 | return config('site.language'); |
||
33 | } |
||
34 | |||
35 | public static function metadata(): GlobalMetadataBag |
||
38 | } |
||
39 | |||
40 | public static function getOutputPath(): string |
||
41 | { |
||
42 | return self::$outputPath; |
||
43 | } |
||
44 | |||
45 | public static function setOutputPath(string $outputPath): void |
||
48 | } |
||
49 | } |
||
50 |