PHP Class PPI\Framework\Router\Wrapper\AuraRouterWrapper

Author: Paul Dragoonis ([email protected])
Inheritance: implements Symfony\Component\Routing\RouterInterface, implements Symfony\Component\Routing\Matcher\RequestMatcherInterface
Datei anzeigen Open project: ppi/framework

Protected Properties

Property Type Description
$context
$router Aura\Router\Router

Public Methods

Method Description
__construct ( Aura\Router\Router $router )
generate ( string $name, array $parameters = [], boolean | string $referenceType = self::ABSOLUTE_PATH ) : false | string
getContext ( ) : mixed
getRouteCollection ( ) : Aura\Router\RouteCollection
getRouter ( )
match ( string $pathinfo ) : array
matchRequest ( Request $request ) : array
setContext ( Symfony\Component\Routing\RequestContext $context )
setRouter ( Aura\Router\Router $router )

Protected Methods

Method Description
doMatch ( $pathinfo, Request $request = null ) : array

Method Details

__construct() public method

public __construct ( Aura\Router\Router $router )
$router Aura\Router\Router

doMatch() protected method

protected doMatch ( $pathinfo, Request $request = null ) : array
$pathinfo
$request Symfony\Component\HttpFoundation\Request
return array

generate() public method

public generate ( string $name, array $parameters = [], boolean | string $referenceType = self::ABSOLUTE_PATH ) : false | string
$name string
$parameters array
$referenceType boolean | string
return false | string

getContext() public method

public getContext ( ) : mixed
return mixed

getRouteCollection() public method

public getRouteCollection ( ) : Aura\Router\RouteCollection
return Aura\Router\RouteCollection

getRouter() public method

public getRouter ( )

match() public method

public match ( string $pathinfo ) : array
$pathinfo string
return array

matchRequest() public method

public matchRequest ( Request $request ) : array
$request Symfony\Component\HttpFoundation\Request
return array

setContext() public method

public setContext ( Symfony\Component\Routing\RequestContext $context )
$context Symfony\Component\Routing\RequestContext

setRouter() public method

public setRouter ( Aura\Router\Router $router )
$router Aura\Router\Router

Property Details

$context protected_oe property

protected $context

$router protected_oe property

protected Router,Aura\Router $router
return Aura\Router\Router