protected function _matchMethod($url)
{
if (empty($this->defaults['_method'])) {
return true;
}
if (isset($url['[method]'])) {
$url['_method'] = $url['[method]'];
}
if (empty($url['_method'])) {
return false;
}
if (!in_array(strtoupper($url['_method']), (array) $this->defaults['_method'])) {
return false;
}
return true;
}