Request (class)

Class Request

A class that helps wrap Request information and particulars about a single request. Provides methods commonly used to introspect on the request headers and request body.

Has both an Array and Object interface. You can access framework parameters using indexes:

$request['controller'] or $request->controller.

Cake\Network\Request implements ArrayAccess
Namespace: Cake\Network
Location: Network/Request.php

Properties summary