You are here

public static function RequestInterface::isWriteMethod in RESTful 7.2

Determines if the HTTP method represents a write operation.

Parameters

string $method: The method name.

Return value

boolean TRUE if it is a write operation. FALSE otherwise.

1 method overrides RequestInterface::isWriteMethod()
Request::isWriteMethod in src/Http/Request.php
Determines if the HTTP method represents a write operation.

File

src/Http/RequestInterface.php, line 73
Contains \Drupal\restful\Http\RequestInterface.

Class

RequestInterface

Namespace

Drupal\restful\Http

Code

public static function isWriteMethod($method);