src/MVC/Server/Route.php
static function getInstance($methods, $patternUri, $action, $name = null)
    {
        if (!self::$instance) {
            self::$instance = new self($methods, $patternUri, $action, $name);
        }
        
        return self::$instance;
    }
static function getInstance($methods, $patternUri, $action, $name = null)
    {
        if (!self::$instance) {
            self::$instance = new self($methods, $patternUri, $action, $name);
        }
        
        return self::$instance;
    }
static function getInstance ( $ methods , $ patternUri , $ action , $ name = null ) { if ( ! self :: $ instance ) { self :: $ instance = new self ( $ methods , $ patternUri , $ action , $ name ) ; } return self :: $ instance ; }
Get Route instance

@param string|array $methods
@param string $patternUri
@param string|\callable $action
@param string $name
@return Route
Get Route instance