Silex API
Class

Silex\LazyUrlMatcher

class LazyUrlMatcher implements UrlMatcherInterface

Implements a lazy UrlMatcher.

Methods

__construct(Closure $factory)

UrlMatcherInterface getUrlMatcher()

Returns the corresponding UrlMatcherInterface instance.

match($pathinfo)

{@inheritdoc}

setContext(RequestContext $context)

{@inheritdoc}

getContext()

{@inheritdoc}

Details

at line 26
public __construct(Closure $factory)

Parameters

Closure $factory

at line 36
public UrlMatcherInterface getUrlMatcher()

Returns the corresponding UrlMatcherInterface instance.

Return Value

UrlMatcherInterface

at line 49
public match($pathinfo)

{@inheritdoc}

Parameters

$pathinfo

at line 57
public setContext(RequestContext $context)

{@inheritdoc}

Parameters

RequestContext $context

at line 65
public getContext()

{@inheritdoc}