private function getRouteArrayFromModulePath($path)
    {
        $path = dirname($path).'/config/routes.php';

        if (file_exists($path) && is_file($path)) {
            return require $path;
        } 
        
        return array();
    }
private function getRouteArrayFromModulePath($path)
    {
        $path = dirname($path).'/config/routes.php';

        if (file_exists($path) && is_file($path)) {
            return require $path;
        } 
        
        return array();
    }
private function getRouteArrayFromModulePath ( $ path ) { $ path = dirname ( $ path ) . '/config/routes.php' ; if ( file_exists ( $ path ) && is_file ( $ path ) ) { return require $ path ; } return array ( ) ; }
Extracts routes from specified path

@param $path
@return array|mixed
@internal
Extracts routes from specified path