54 lines
3.2 KiB
PHP
Executable File
54 lines
3.2 KiB
PHP
Executable File
<?php
|
|
|
|
namespace Illuminate\Support\Facades;
|
|
|
|
/**
|
|
* @method static \Illuminate\Routing\PendingResourceRegistration apiResource(string $name, string $controller, array $options = [])
|
|
* @method static \Illuminate\Routing\PendingResourceRegistration resource(string $name, string $controller, array $options = [])
|
|
* @method static \Illuminate\Routing\Route any(string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route current()
|
|
* @method static \Illuminate\Routing\Route delete(string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route fallback(array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route get(string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route getCurrentRoute()
|
|
* @method static \Illuminate\Routing\Route match(array|string $methods, string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route options(string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route patch(string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route permanentRedirect(string $uri, string $destination)
|
|
* @method static \Illuminate\Routing\Route post(string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route put(string $uri, array|string|callable|null $action = null)
|
|
* @method static \Illuminate\Routing\Route redirect(string $uri, string $destination, int $status = 302)
|
|
* @method static \Illuminate\Routing\Route substituteBindings(\Illuminate\Support\Facades\Route $route)
|
|
* @method static \Illuminate\Routing\Route view(string $uri, string $view, array $data = [])
|
|
* @method static \Illuminate\Routing\RouteRegistrar as(string $value)
|
|
* @method static \Illuminate\Routing\RouteRegistrar domain(string $value)
|
|
* @method static \Illuminate\Routing\RouteRegistrar middleware(array|string|null $middleware)
|
|
* @method static \Illuminate\Routing\RouteRegistrar name(string $value)
|
|
* @method static \Illuminate\Routing\RouteRegistrar namespace(string $value)
|
|
* @method static \Illuminate\Routing\RouteRegistrar prefix(string $prefix)
|
|
* @method static \Illuminate\Routing\RouteRegistrar where(array $where)
|
|
* @method static \Illuminate\Routing\Router|\Illuminate\Routing\RouteRegistrar group(\Closure|string|array $attributes, \Closure|string $routes)
|
|
* @method static string|null currentRouteAction()
|
|
* @method static string|null currentRouteName()
|
|
* @method static void apiResources(array $resources, array $options = [])
|
|
* @method static void bind(string $key, string|callable $binder)
|
|
* @method static void model(string $key, string $class, \Closure|null $callback = null)
|
|
* @method static void pattern(string $key, string $pattern)
|
|
* @method static void resources(array $resources)
|
|
* @method static void substituteImplicitBindings(\Illuminate\Support\Facades\Route $route)
|
|
*
|
|
* @see \Illuminate\Routing\Router
|
|
*/
|
|
class Route extends Facade
|
|
{
|
|
/**
|
|
* Get the registered name of the component.
|
|
*
|
|
* @return string
|
|
*/
|
|
protected static function getFacadeAccessor()
|
|
{
|
|
return 'router';
|
|
}
|
|
}
|