protected function getRoutes()
    {
        $route = $this->getRequestParameter('route');
        if (empty($route)) {
            throw new \common_exception_MissingParameter('You must specify a route');
        }

        if (!is_array($route)) {
            $route = [$route];
        }

        return $route;
    }
protected function getRoutes()
    {
        $route = $this->getRequestParameter('route');
        if (empty($route)) {
            throw new \common_exception_MissingParameter('You must specify a route');
        }

        if (!is_array($route)) {
            $route = [$route];
        }

        return $route;
    }
protected function getRoutes ( ) { $ route = $ this -> getRequestParameter ( 'route' ) ; if ( empty ( $ route ) ) { throw new \ common_exception_MissingParameter ( 'You must specify a route' ) ; } if ( ! is_array ( $ route ) ) { $ route = [ $ route ] ; } return $ route ; }
Gets the provided context route
@return array|mixed|null|string
@throws common_exception_MissingParameter
Gets the provided context route