Aerys\Router::__call PHP Method

__call() public method

HTTP method verbs -- though case-sensitive -- are used in all-caps for most applications. Shortcut method verbs will automatically be changed to all-caps. Applications wishing to define case-sensitive methods should use Router::route() to specify the desired method directly.
public __call ( string $method, array $args ) : Router
$method string
$args array
return Router
    public function __call(string $method, array $args) : Router
    {
        $uri = $args ? array_shift($args) : "";
        return $this->route(strtoupper($method), $uri, ...$args);
    }