getHeaders(); return isset($headers['Allow']) ? $headers['Allow'] : null; } /** * Set the allowed HTTP methods * * @param string $allowedMethods * * @return $this */ public function setAllowedMethods($allowedMethods) { $this->setHeader('Allow', (string) $allowedMethods); return $this; } }