Debian Codegraph @

lib/3rdParty/composer/illuminate/support/Facades/URL.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Support\Facades;
4
5 /**
6 * @method static string full()
7 * @method static string current()
8 * @method static string previous(mixed $fallback = false)
9 * @method static string previousPath(mixed $fallback = false)
10 * @method static string to(string $path, mixed $extra = [], bool|null $secure = null)
11 * @method static string query(string $path, array $query = [], mixed $extra = [], bool|null $secure = null)
12 * @method static string secure(string $path, array $parameters = [])
13 * @method static string asset(string $path, bool|null $secure = null)
14 * @method static string secureAsset(string $path)
15 * @method static string assetFrom(string $root, string $path, bool|null $secure = null)
16 * @method static string formatScheme(bool|null $secure = null)
17 * @method static string signedRoute(\BackedEnum|string $name, mixed $parameters = [], \DateTimeInterface|\DateInterval|int|null $expiration = null, bool $absolute = true)
18 * @method static string temporarySignedRoute(\BackedEnum|string $name, \DateTimeInterface|\DateInterval|int $expiration, array $parameters = [], bool $absolute = true)
19 * @method static bool hasValidSignature(\Illuminate\Http\Request $request, bool $absolute = true, \Closure|array $ignoreQuery = [])
20 * @method static bool hasValidRelativeSignature(\Illuminate\Http\Request $request, \Closure|array $ignoreQuery = [])
21 * @method static bool hasCorrectSignature(\Illuminate\Http\Request $request, bool $absolute = true, \Closure|array $ignoreQuery = [])
22 * @method static bool signatureHasNotExpired(\Illuminate\Http\Request $request)
23 * @method static string route(\BackedEnum|string $name, mixed $parameters = [], bool $absolute = true)
24 * @method static string toRoute(\Illuminate\Routing\Route $route, mixed $parameters, bool $absolute)
25 * @method static string action(string|array $action, mixed $parameters = [], bool $absolute = true)
26 * @method static array formatParameters(mixed $parameters)
27 * @method static string formatRoot(string $scheme, string|null $root = null)
28 * @method static string format(string $root, string $path, \Illuminate\Routing\Route|null $route = null)
29 * @method static bool isValidUrl(string $path)
30 * @method static void defaults(array $defaults)
31 * @method static array getDefaultParameters()
32 * @method static void forceScheme(string|null $scheme)
33 * @method static void forceHttps(bool $force = true)
34 * @method static void useOrigin(string|null $root)
35 * @method static void useAssetOrigin(string|null $root)
36 * @method static \Illuminate\Routing\UrlGenerator formatHostUsing(\Closure $callback)
37 * @method static \Illuminate\Routing\UrlGenerator formatPathUsing(\Closure $callback)
38 * @method static \Closure pathFormatter()
39 * @method static \Illuminate\Http\Request getRequest()
40 * @method static void setRequest(\Illuminate\Http\Request $request)
41 * @method static \Illuminate\Routing\UrlGenerator setRoutes(\Illuminate\Routing\RouteCollectionInterface $routes)
42 * @method static \Illuminate\Routing\UrlGenerator setSessionResolver(callable $sessionResolver)
43 * @method static \Illuminate\Routing\UrlGenerator setKeyResolver(callable $keyResolver)
44 * @method static \Illuminate\Routing\UrlGenerator withKeyResolver(callable $keyResolver)
45 * @method static \Illuminate\Routing\UrlGenerator resolveMissingNamedRoutesUsing(callable $missingNamedRouteResolver)
46 * @method static string getRootControllerNamespace()
47 * @method static \Illuminate\Routing\UrlGenerator setRootControllerNamespace(string $rootNamespace)
48 * @method static void macro(string $name, object|callable $macro)
49 * @method static void mixin(object $mixin, bool $replace = true)
50 * @method static bool hasMacro(string $name)
51 * @method static void flushMacros()
52 *
53 * @see \Illuminate\Routing\UrlGenerator
54 */
55 class URL extends Facade
56 {
57 /**
58 * Get the registered name of the component.
59 *
60 * @return string
61 */
62 protected static function getFacadeAccessor()
63 {
64 return 'url';
65 }
66 }