You are here

public static function RequestInterface::createFromGlobals in RESTful 7.2

Creates a new request with values from PHP's super globals.

Return value

RequestInterface Request A Request instance

1 method overrides RequestInterface::createFromGlobals()
Request::createFromGlobals in src/Http/Request.php
Creates a new request with values from PHP's super globals.

File

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

Class

RequestInterface

Namespace

Drupal\restful\Http

Code

public static function createFromGlobals();