| 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static array preloadedAssets() |
| 7 | * @method static string|null cspNonce() |
| 8 | * @method static string useCspNonce(string|null $nonce = null) |
| 9 | * @method static \Illuminate\Foundation\Vite useIntegrityKey(string|false $key) |
| 10 | * @method static \Illuminate\Foundation\Vite withEntryPoints(array $entryPoints) |
| 11 | * @method static \Illuminate\Foundation\Vite mergeEntryPoints(array $entryPoints) |
| 12 | * @method static \Illuminate\Foundation\Vite useManifestFilename(string $filename) |
| 13 | * @method static \Illuminate\Foundation\Vite createAssetPathsUsing(callable|null $resolver) |
| 14 | * @method static string hotFile() |
| 15 | * @method static \Illuminate\Foundation\Vite useHotFile(string $path) |
| 16 | * @method static \Illuminate\Foundation\Vite useBuildDirectory(string $path) |
| 17 | * @method static \Illuminate\Foundation\Vite useScriptTagAttributes(callable|array $attributes) |
| 18 | * @method static \Illuminate\Foundation\Vite useStyleTagAttributes(callable|array $attributes) |
| 19 | * @method static \Illuminate\Foundation\Vite usePreloadTagAttributes(callable|array|false $attributes) |
| 20 | * @method static \Illuminate\Foundation\Vite prefetch(int|null $concurrency = null, string $event = 'load') |
| 21 | * @method static \Illuminate\Foundation\Vite useWaterfallPrefetching(int|null $concurrency = null) |
| 22 | * @method static \Illuminate\Foundation\Vite useAggressivePrefetching() |
| 23 | * @method static \Illuminate\Foundation\Vite usePrefetchStrategy(string|null $strategy, array $config = []) |
| 24 | * @method static \Illuminate\Support\HtmlString|void reactRefresh() |
| 25 | * @method static string asset(string $asset, string|null $buildDirectory = null) |
| 26 | * @method static string content(string $asset, string|null $buildDirectory = null) |
| 27 | * @method static string|null manifestHash(string|null $buildDirectory = null) |
| 28 | * @method static bool isRunningHot() |
| 29 | * @method static string toHtml() |
| 30 | * @method static void flush() |
| 31 | * @method static void macro(string $name, object|callable $macro) |
| 32 | * @method static void mixin(object $mixin, bool $replace = true) |
| 33 | * @method static bool hasMacro(string $name) |
| 34 | * @method static void flushMacros() |
| 35 | * |
| 36 | * @see \Illuminate\Foundation\Vite |
| 37 | */ |
| 38 | class Vite extends Facade |
| 39 | { |
| 40 | /** |
| 41 | * Get the registered name of the component. |
| 42 | * |
| 43 | * @return string |
| 44 | */ |
| 45 | protected static function getFacadeAccessor() |
| 46 | { |
| 47 | return \Illuminate\Foundation\Vite::class; |
| 48 | } |
| 49 | } |