UrlRoutable interface UrlRoutable (View source) Methods mixed getRouteKey() Get the value of the model's route key. string getRouteKeyName() Get the route key for the model.
void __construct(RouteCollection $routes, Request $request) Create a new URL Generator instance. Parameters RouteCollection $routes Request $request Return Value void
static mixed __callStatic(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
mixed __call(string $method, array $parameters) Dynamically handle calls to the class. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException
string to(string $path, mixed $extra = array(), bool $secure = null) Generate an absolute URL to the given path. Parameters string $path mixed $extra bool $secure Return Value string
$this setSessionResolver(callable $sessionResolver) Set the session resolver for the generator. Parameters callable $sessionResolver Return Value $this
$this setRoutes(RouteCollection $routes) Set the route collection. Parameters RouteCollection $routes Return Value $this
$this setRootControllerNamespace(string $rootNamespace) Set the root controller namespace. Parameters string $rootNamespace Return Value $this
Page 56 of 996