Configuration/AbstractPageRouteConfiguration.php
public function extractPathInfo($pathInfo)
    {
        if ($this->getRegex() === null) {
            return $pathInfo;
        }

        preg_match($this->getRegex(), $pathInfo, $matches);

        if (isset($matches[1])) {
            return $matches[1];
        } else {
            // Empty     then root node ("/" or "/edit)
            return "/";
        }
    }
public function extractPathInfo($pathInfo)
    {
        if ($this->getRegex() === null) {
            return $pathInfo;
        }

        preg_match($this->getRegex(), $pathInfo, $matches);

        if (isset($matches[1])) {
            return $matches[1];
        } else {
            // Empty     then root node ("/" or "/edit)
            return "/";
        }
    }
public function extractPathInfo ( $ pathInfo ) { if ( $ this -> getRegex ( ) === null ) { return $ pathInfo ; } preg_match ( $ this -> getRegex ( ) , $ pathInfo , $ matches ) ; if ( isset ( $ matches [ 1 ] ) ) { return $ matches [ 1 ] ; } else { // Empty     then root node ("/" or "/edit) return "/" ; } }
Extract page pathinfo
Call isMatching before to be sure regex matches

@param $pathInfo

@return string
Extract page pathinfo Call isMatching before to be sure regex matches