src/Routing/Router.php
protected function getRestfullMethod($postVar)
    {
        if (array_key_exists('_method', $postVar)) {
            $method = strtoupper($postVar['_method']);
            if (in_array($method, array_keys($this->routes))) {
                return $method;
            }
        }
    }
protected function getRestfullMethod($postVar)
    {
        if (array_key_exists('_method', $postVar)) {
            $method = strtoupper($postVar['_method']);
            if (in_array($method, array_keys($this->routes))) {
                return $method;
            }
        }
    }
Check and return a REST request (if defined).

@param [type] $postVar