1.1.1. Overview

The Sapien Request is a value object, composed of other value objects, 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(); Further Reading

The Request provides public readonly properties related to these areas:

You can also extend the Request for your own purposes.