src/Console/Routes/Controller.php
protected function controllerMethod($controllername)
    {
        if (str_contains($controller = $controllername, '@')) {
            return substr($controllername, strpos($controllername, '@')+1, strlen($controllername));
        }
        return 'index';
    }
protected function controllerMethod($controllername)
    {
        if (str_contains($controller = $controllername, '@')) {
            return substr($controllername, strpos($controllername, '@')+1, strlen($controllername));
        }
        return 'index';
    }
protected function controllerMethod ( $ controllername ) { if ( str_contains ( $ controller = $ controllername , '@' ) ) { return substr ( $ controllername , strpos ( $ controllername , '@' ) + 1 , strlen ( $ controllername ) ) ; } return 'index' ; }
Get method from controller name.

@param $controllername
@return string
Get method from controller name .