PHP Class Pagekit\Routing\Request\ParamFetcherListener

Inheritance: implements Pagekit\Event\EventSubscriberInterface
Mostrar archivo Open project: pagekit/pagekit

Protected Properties

Property Type Description
$paramFetcher Pagekit\Routing\Request\ParamFetcherInterface

Public Methods

Method Description
__construct ( Pagekit\Routing\Request\ParamFetcherInterface $paramFetcher = null ) Constructor.
onController ( $event, $request ) Maps the parameters to request attributes.
subscribe ( )

Method Details

__construct() public method

Constructor.
public __construct ( Pagekit\Routing\Request\ParamFetcherInterface $paramFetcher = null )
$paramFetcher Pagekit\Routing\Request\ParamFetcherInterface

onController() public method

Maps the parameters to request attributes.
public onController ( $event, $request )
$event

subscribe() public method

public subscribe ( )

Property Details

$paramFetcher protected_oe property

protected ParamFetcherInterface,Pagekit\Routing\Request $paramFetcher
return Pagekit\Routing\Request\ParamFetcherInterface