public function extractId($routeName)
    {
        if (!$this->supports($routeName)) {
            return null;
        }

        return (int) str_replace($this->getPrefix(), '', $routeName);
    }
public function extractId($routeName)
    {
        if (!$this->supports($routeName)) {
            return null;
        }

        return (int) str_replace($this->getPrefix(), '', $routeName);
    }
public function extractId ( $ routeName ) { if ( ! $ this -> supports ( $ routeName ) ) { return null ; } return ( int ) str_replace ( $ this -> getPrefix ( ) , '' , $ routeName ) ; }
Extract a page id from the route name

@param string $routeName

@return int|null
Extract a page id from the route name