|
4 | 4 |
|
5 | 5 | namespace Hyde; |
6 | 6 |
|
7 | | -use Hyde\Enums\Feature; |
8 | | -use Hyde\Facades\Features; |
9 | 7 | use Hyde\Foundation\HydeKernel; |
10 | | -use Hyde\Foundation\Kernel\FileCollection; |
11 | | -use Hyde\Foundation\Kernel\Filesystem; |
12 | | -use Hyde\Foundation\Kernel\PageCollection; |
13 | | -use Hyde\Foundation\Kernel\RouteCollection; |
14 | | -use Hyde\Pages\Concerns\HydePage; |
15 | | -use Hyde\Support\Models\Route; |
16 | 8 | use Illuminate\Support\Facades\Facade; |
17 | | -use Illuminate\Support\HtmlString; |
18 | 9 | use JetBrains\PhpStorm\Pure; |
19 | 10 |
|
20 | 11 | /** |
|
26 | 17 | * @copyright 2022 Caen De Silva |
27 | 18 | * @license MIT License |
28 | 19 | * |
29 | | - * @method static string path(string $path = '') |
30 | | - * @method static string vendorPath(string $path = '', string $package = 'framework') |
31 | | - * @method static string pathToAbsolute(string $path) |
32 | | - * @method static string pathToRelative(string $path) |
33 | | - * @method static string sitePath(string $path = '') |
34 | | - * @method static string mediaPath(string $path = '') |
35 | | - * @method static string siteMediaPath(string $path = '') |
36 | | - * @method static string formatLink(string $destination) |
37 | | - * @method static string relativeLink(string $destination) |
38 | | - * @method static string mediaLink(string $destination, bool $validate = false) |
39 | | - * @method static string asset(string $name, bool $preferQualifiedUrl = false) |
40 | | - * @method static string url(string $path = '') |
41 | | - * @method static Route|null route(string $key) |
42 | | - * @method static string makeTitle(string $value) |
43 | | - * @method static string normalizeNewlines(string $string) |
44 | | - * @method static string stripNewlines(string $string) |
45 | | - * @method static string trimSlashes(string $string) |
46 | | - * @method static HtmlString markdown(string $text, bool $stripIndentation = false) |
47 | | - * @method static string currentPage() |
48 | | - * @method static string currentRouteKey() |
49 | | - * @method static string getBasePath() |
50 | | - * @method static string getSourceRoot() |
51 | | - * @method static string getOutputDirectory() |
52 | | - * @method static string getMediaDirectory() |
53 | | - * @method static string getMediaOutputDirectory() |
54 | | - * @method static Features features() |
55 | | - * @method static FileCollection files() |
56 | | - * @method static PageCollection pages() |
57 | | - * @method static RouteCollection routes() |
58 | | - * @method static Route|null currentRoute() |
59 | | - * @method static HydeKernel getInstance() |
60 | | - * @method static Filesystem filesystem() |
61 | | - * @method static array getRegisteredExtensions() |
62 | | - * @method static bool hasFeature(Feature $feature) |
63 | | - * @method static bool hasSiteUrl() |
64 | | - * @method static void setInstance(HydeKernel $instance) |
65 | | - * @method static void setBasePath(string $basePath) |
66 | | - * @method static void setOutputDirectory(string $outputDirectory) |
67 | | - * @method static void setMediaDirectory(string $mediaDirectory) |
68 | | - * @method static void setSourceRoot(string $sourceRoot) |
69 | | - * @method static void shareViewData(HydePage $page) |
70 | | - * @method static array toArray() |
71 | | - * @method static bool isBooted() |
72 | | - * @method static void boot() |
| 20 | + * @mixin \Hyde\Foundation\HydeKernel |
73 | 21 | * |
74 | 22 | * @see \Hyde\Foundation\Concerns\ForwardsFilesystem |
75 | 23 | * @see \Hyde\Foundation\Concerns\ForwardsHyperlinks |
|
0 commit comments