public function setContext(RequestContext $context)
    {
        foreach ($this->matchers as $matcher) {
            $matcher->setContext($context);
        }

        $this->context = $context;
    }
public function setContext(RequestContext $context)
    {
        foreach ($this->matchers as $matcher) {
            $matcher->setContext($context);
        }

        $this->context = $context;
    }
public function setContext ( RequestContext $ context ) { foreach ( $ this -> matchers as $ matcher ) { $ matcher -> setContext ( $ context ) ; } $ this -> context = $ context ; }
setContext
Sets the request context.

@param RequestContext $context The context
@return void
setContext Sets the request context .