src/TerminalObject/Router/Router.php
protected function getRouter($name)
    {
        if ($this->basic->exists($name)) {
            return $this->basic;
        }

        if ($this->dynamic->exists($name)) {
            return $this->dynamic;
        }
    }
protected function getRouter($name)
    {
        if ($this->basic->exists($name)) {
            return $this->basic;
        }

        if ($this->dynamic->exists($name)) {
            return $this->dynamic;
        }
    }
protected function getRouter ( $ name ) { if ( $ this -> basic -> exists ( $ name ) ) { return $ this -> basic ; } if ( $ this -> dynamic -> exists ( $ name ) ) { return $ this -> dynamic ; } }
Determine which type of router we are using and return it

@param string $name

@return \League\CLImate\TerminalObject\Router\RouterInterface|null
Determine which type of router we are using and return it