protected function setAllowMethods(array $allowMethods) { $this->allowMethods = array_map('strtoupper', $allowMethods); }