protected RestResourceConfig::normalizeRestMethod($method)
Normalizes the method to upper case and check validity.
Parameters
string $method: The request method.
Return value
string The normalised request method.
Throws
\InvalidArgumentException If the method is not supported.
File
core/modules/rest/src/Entity/RestResourceConfig.php, line 257
Class
RestResourceConfig Defines a RestResourceConfig configuration entity class.
Namespace
Drupal\rest\Entity
Code
protected function normali