| Total Complexity | 6 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 9 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 20 | class DocumentationSearchPage extends DocumentationPage |
||
| 21 | { |
||
| 22 | public function __construct() |
||
| 26 | ]); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function compile(): string |
||
| 32 | } |
||
| 33 | |||
| 34 | public static function enabled(): bool |
||
| 35 | { |
||
| 36 | return config('docs.create_search_page', true) && ! Hyde::routes()->has(self::routeKey()); |
||
| 37 | } |
||
| 38 | |||
| 39 | public static function generate(): string |
||
| 42 | } |
||
| 43 | |||
| 44 | public static function routeKey(): string |
||
| 47 | } |
||
| 48 | } |
||
| 49 |