PHP Class FluxBB\Integration\Laravel\UrlGenerator

Inheritance: implements FluxBB\Web\UrlGeneratorInterface
Datei anzeigen 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_oe property

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

$router protected_oe property

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