Request

The Sapien Request is a value object representing the PHP request received by the server. Use a Request instead of the various PHP superglobals.

Instantiation

Instantiation of Request is straightforward:

use Sapien\Request;

$request = new Request();

The Request provides public readonly properties related to these areas: