diff --git a/packages/framework/src/Hyde.php b/packages/framework/src/Hyde.php index 860bd77cccb..cc0df0dc049 100644 --- a/packages/framework/src/Hyde.php +++ b/packages/framework/src/Hyde.php @@ -4,17 +4,8 @@ namespace Hyde; -use Hyde\Enums\Feature; -use Hyde\Facades\Features; use Hyde\Foundation\HydeKernel; -use Hyde\Foundation\Kernel\FileCollection; -use Hyde\Foundation\Kernel\Filesystem; -use Hyde\Foundation\Kernel\PageCollection; -use Hyde\Foundation\Kernel\RouteCollection; -use Hyde\Pages\Concerns\HydePage; -use Hyde\Support\Models\Route; use Illuminate\Support\Facades\Facade; -use Illuminate\Support\HtmlString; use JetBrains\PhpStorm\Pure; /** @@ -26,50 +17,7 @@ * @copyright 2022 Caen De Silva * @license MIT License * - * @method static string path(string $path = '') - * @method static string vendorPath(string $path = '', string $package = 'framework') - * @method static string pathToAbsolute(string $path) - * @method static string pathToRelative(string $path) - * @method static string sitePath(string $path = '') - * @method static string mediaPath(string $path = '') - * @method static string siteMediaPath(string $path = '') - * @method static string formatLink(string $destination) - * @method static string relativeLink(string $destination) - * @method static string mediaLink(string $destination, bool $validate = false) - * @method static string asset(string $name, bool $preferQualifiedUrl = false) - * @method static string url(string $path = '') - * @method static Route|null route(string $key) - * @method static string makeTitle(string $value) - * @method static string normalizeNewlines(string $string) - * @method static string stripNewlines(string $string) - * @method static string trimSlashes(string $string) - * @method static HtmlString markdown(string $text, bool $stripIndentation = false) - * @method static string currentPage() - * @method static string currentRouteKey() - * @method static string getBasePath() - * @method static string getSourceRoot() - * @method static string getOutputDirectory() - * @method static string getMediaDirectory() - * @method static string getMediaOutputDirectory() - * @method static Features features() - * @method static FileCollection files() - * @method static PageCollection pages() - * @method static RouteCollection routes() - * @method static Route|null currentRoute() - * @method static HydeKernel getInstance() - * @method static Filesystem filesystem() - * @method static array getRegisteredExtensions() - * @method static bool hasFeature(Feature $feature) - * @method static bool hasSiteUrl() - * @method static void setInstance(HydeKernel $instance) - * @method static void setBasePath(string $basePath) - * @method static void setOutputDirectory(string $outputDirectory) - * @method static void setMediaDirectory(string $mediaDirectory) - * @method static void setSourceRoot(string $sourceRoot) - * @method static void shareViewData(HydePage $page) - * @method static array toArray() - * @method static bool isBooted() - * @method static void boot() + * @mixin \Hyde\Foundation\HydeKernel * * @see \Hyde\Foundation\Concerns\ForwardsFilesystem * @see \Hyde\Foundation\Concerns\ForwardsHyperlinks