protected function resolvePatternValues()
    {

        // initialize the array
        $elements = array();

        // load the pattern keys
        $patternKeys = $this->getPatternKeys();

        // prepare the pattern values
        foreach ($patternKeys as $element) {
            $elements[] = sprintf('(?<%s>%s)', $element, $this->resolvePatternValue($element));
        }

        // return the pattern values
        return $elements;
    }
protected function resolvePatternValues()
    {

        // initialize the array
        $elements = array();

        // load the pattern keys
        $patternKeys = $this->getPatternKeys();

        // prepare the pattern values
        foreach ($patternKeys as $element) {
            $elements[] = sprintf('(?<%s>%s)', $element, $this->resolvePatternValue($element));
        }

        // return the pattern values
        return $elements;
    }
protected function resolvePatternValues ( ) { // initialize the array $ elements = array ( ) ; // load the pattern keys $ patternKeys = $ this -> getPatternKeys ( ) ; // prepare the pattern values foreach ( $ patternKeys as $ element ) { $ elements [ ] = sprintf ( '(?<%s>%s)' , $ element , $ this -> resolvePatternValue ( $ element ) ) ; } // return the pattern values return $ elements ; }
Returns the values to create the regex pattern from.

@return array The array with the pattern values
Returns the values to create the regex pattern from .