Skip to content

Commit

Permalink
Merge pull request #1919 from hydephp/hyde-facade-mixins
Browse files Browse the repository at this point in the history
Update the Hyde facade to use a mixin annotation instead of method annotations hydephp/develop@590b1bc
  • Loading branch information
github-actions committed Jul 28, 2024
1 parent affcf3b commit cda69fa
Showing 1 changed file with 1 addition and 53 deletions.
54 changes: 1 addition & 53 deletions src/Hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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
Expand Down

0 comments on commit cda69fa

Please sign in to comment.