You are here

public function MethodNotAllowedException::getAllowedMethods in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Exception/MethodNotAllowedException.php \Symfony\Component\Routing\Exception\MethodNotAllowedException::getAllowedMethods()

Gets the allowed HTTP methods.

Return value

array

File

vendor/symfony/routing/Exception/MethodNotAllowedException.php, line 40

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;
}