public function MethodNotAllowedException::getAllowedMethods

Gets the allowed HTTP methods.

Return value

array

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Exception/MethodNotAllowedException.php, line 42

Class

MethodNotAllowedException
The resource was found but the request method is not allowed.

Namespace

Symfony\Component\Routing\Exception

Code

public function getAllowedMethods() {
  return $this->allowedMethods;
}