You are here

public static function RequestInterface::isReadMethod in RESTful 7.2

Determines if the HTTP method represents a read operation.

Parameters

string $method: The method name.

Return value

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

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

File

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

Class

RequestInterface

Namespace

Drupal\restful\Http

Code

public static function isReadMethod($method);