Url
class Url extends Facade (View source)
Properties
static protected | $app | from Facade | |
static protected array | $resolvedInstance | The resolved object instances. |
from Facade |
Methods
No description
Resolve the facade root instance from the container.
Get the registered name of the component.
Get the application instance behind the facade.
Handle dynamic, static calls to the object.
Resolve a URL from data.
Details
static mixed
getFacadeRoot()
No description
in
Facade at line 35
static protected mixed
resolveFacadeInstance(string $name)
Resolve the facade root instance from the container.
static string
getFacadeAccessor()
Get the registered name of the component.
in
Facade at line 65
static
clearResolvedInstance(string $name)
Clear a resolved facade instance.
in
Facade at line 73
static
clearResolvedInstances()
Clear all of the resolved instances.
in
Facade at line 83
static Application
getFacadeApplication()
Get the application instance behind the facade.
in
Facade at line 93
static
setFacadeApplication(Application $app)
Set the application instance.
static mixed
__callStatic(string $method, array $args)
Handle dynamic, static calls to the object.
static URLInterface
to()
Resolve a URL from data.
Working core examples for example.com: \Url::to('/some/path', 'some_action', $some_variable = 2) http://example.com/some/path/some_action/2/
\Url::to($page_object = \Page::getByPath('blog'), 'action') http://example.com/blog/action/
static URLInterface
route($data)
deprecated
deprecated
This method is only here as a legacy decorator, use url::to.
static URLInterface
page()
deprecated
deprecated
This method is only here as a legacy decorator, use \URL::to($page)
.