PHP Class FluxBB\Integration\Laravel\UrlGenerator

Inheritance: implements FluxBB\Web\UrlGeneratorInterface
Show file Open project: fluxbb/core

Protected Properties

Property Type Description
$generator Illuminate\Contracts\Routing\UrlGenerator
$router FluxBB\Web\Router

Public Methods

Method Description
__construct ( Router $router, Illuminate\Contracts\Routing\UrlGenerator $generator )
canonical ( )
toAsset ( $path )
toRoute ( $handler, $parameters = [] )

Protected Methods

Method Description
getUrlToPath ( $path )

Method Details

__construct() public method

public __construct ( Router $router, Illuminate\Contracts\Routing\UrlGenerator $generator )
$router FluxBB\Web\Router
$generator Illuminate\Contracts\Routing\UrlGenerator

canonical() public method

public canonical ( )

getUrlToPath() protected method

protected getUrlToPath ( $path )

toAsset() public method

public toAsset ( $path )

toRoute() public method

public toRoute ( $handler, $parameters = [] )

Property Details

$generator protected property

protected UrlGenerator,Illuminate\Contracts\Routing $generator
return Illuminate\Contracts\Routing\UrlGenerator

$router protected property

protected Router,FluxBB\Web $router
return FluxBB\Web\Router