Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Support/Facades/URL.php
Строк: 143
<?php

namespace IlluminateSupportFacades;

/**
 * @method static string full()
 * @method static string current()
 * @method static string previous(mixed $fallback = false)
 * @method static string previousPath(mixed $fallback = false)
 * @method static string to(string $path, mixed $extra = [], bool|null $secure = null)
 * @method static string secure(string $path, array $parameters = [])
 * @method static string asset(string $path, bool|null $secure = null)
 * @method static string secureAsset(string $path)
 * @method static string assetFrom(string $root, string $path, bool|null $secure = null)
 * @method static string formatScheme(bool|null $secure = null)
 * @method static string signedRoute(string $name, mixed $parameters = [], DateTimeInterface|DateInterval|int|null $expiration = null, bool $absolute = true)
 * @method static string temporarySignedRoute(string $name, DateTimeInterface|DateInterval|int $expiration, array $parameters = [], bool $absolute = true)
 * @method static bool hasValidSignature(IlluminateHttpRequest $request, bool $absolute = true, array $ignoreQuery = [])
 * @method static bool hasValidRelativeSignature(IlluminateHttpRequest $request, array $ignoreQuery = [])
 * @method static bool hasCorrectSignature(IlluminateHttpRequest $request, bool $absolute = true, array $ignoreQuery = [])
 * @method static bool signatureHasNotExpired(IlluminateHttpRequest $request)
 * @method static string route(string $name, mixed $parameters = [], bool $absolute = true)
 * @method static string toRoute(IlluminateRoutingRoute $route, mixed $parameters, bool $absolute)
 * @method static string action(string|array $action, mixed $parameters = [], bool $absolute = true)
 * @method static array formatParameters(mixed|array $parameters)
 * @method static string formatRoot(string $scheme, string|null $root = null)
 * @method static string format(string $root, string $path, IlluminateRoutingRoute|null $route = null)
 * @method static bool isValidUrl(string $path)
 * @method static void defaults(array $defaults)
 * @method static array getDefaultParameters()
 * @method static void forceScheme(string|null $scheme)
 * @method static void forceRootUrl(string|null $root)
 * @method static IlluminateRoutingUrlGenerator formatHostUsing(Closure $callback)
 * @method static IlluminateRoutingUrlGenerator formatPathUsing(Closure $callback)
 * @method static Closure pathFormatter()
 * @method static IlluminateHttpRequest getRequest()
 * @method static void setRequest(IlluminateHttpRequest $request)
 * @method static IlluminateRoutingUrlGenerator setRoutes(IlluminateRoutingRouteCollectionInterface $routes)
 * @method static IlluminateRoutingUrlGenerator setSessionResolver(callable $sessionResolver)
 * @method static IlluminateRoutingUrlGenerator setKeyResolver(callable $keyResolver)
 * @method static IlluminateRoutingUrlGenerator withKeyResolver(callable $keyResolver)
 * @method static IlluminateRoutingUrlGenerator resolveMissingNamedRoutesUsing(callable $missingNamedRouteResolver)
 * @method static string getRootControllerNamespace()
 * @method static IlluminateRoutingUrlGenerator setRootControllerNamespace(string $rootNamespace)
 * @method static void macro(string $name, object|callable $macro)
 * @method static void mixin(object $mixin, bool $replace = true)
 * @method static bool hasMacro(string $name)
 * @method static void flushMacros()
 *
 * @see IlluminateRoutingUrlGenerator
 */
class URL extends Facade
{
    
/**
     * Get the registered name of the component.
     *
     * @return string
     */
    
protected static function getFacadeAccessor()
    {
        return 
'url';
    }
}
Онлайн: 1
Реклама