UrlGenerator (Contracts)

UrlGenerator

interface UrlGenerator (View source)

Methods

string current()

Get the current URL for the request.

string to( string $path, mixed $extra = array(), bool $secure = null)

Generate a absolute URL to the given path.

string secure( string $path, array $parameters = array())

Generate a secure, absolute URL to the given path.