Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MethodNotAllowedException.php

function MethodNotAllowedException::getAllowedMethods

Gets the allowed HTTP methods.

Return value

string[]

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() : array {
    return $this->allowedMethods;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal