public function routeClass($routeClass = null)
    {
        deprecationWarning(
            'RouteBuilder::routeClass() is deprecated. ' .
            'Use RouteBuilder::setRouteClass()/getRouteClass() instead.'
        );
        if ($routeClass === null) {
            return $this->getRouteClass();
        }
        $this->setRouteClass($routeClass);
    }
public function routeClass($routeClass = null)
    {
        deprecationWarning(
            'RouteBuilder::routeClass() is deprecated. ' .
            'Use RouteBuilder::setRouteClass()/getRouteClass() instead.'
        );
        if ($routeClass === null) {
            return $this->getRouteClass();
        }
        $this->setRouteClass($routeClass);
    }
public function routeClass ( $ routeClass = null ) { deprecationWarning ( 'RouteBuilder::routeClass() is deprecated. ' . 'Use RouteBuilder::setRouteClass()/getRouteClass() instead.' ) ; if ( $ routeClass === null ) { return $ this -> getRouteClass ( ) ; } $ this -> setRouteClass ( $ routeClass ) ; }
Get or set default route class.

@deprecated 3.5.0 Use getRouteClass/setRouteClass instead.
@param string|null $routeClass Class name.
@return string|null
Get or set default route class .