protected function loadPattern($patternName, array $pattern)
    {
        $pattern['matcher'] = new RequestMatcher($pattern['path']);

        $this->patterns[$patternName] = $pattern;

        return $this;
    }
protected function loadPattern($patternName, array $pattern)
    {
        $pattern['matcher'] = new RequestMatcher($pattern['path']);

        $this->patterns[$patternName] = $pattern;

        return $this;
    }
protected function loadPattern ( $ patternName , array $ pattern ) { $ pattern [ 'matcher' ] = new RequestMatcher ( $ pattern [ 'path' ] ) ; $ this -> patterns [ $ patternName ] = $ pattern ; return $ this ; }
Load a formated pattern

@param string $patternName Patern  name in $this->patterns
@param array  $pattern     Pattern data

@return $this
Load a formated pattern