Parable Documentation

GetSet#

GetSet is a data container system that is used by many internal Parable classes. It's used for HTTP request data such as GET, POST, etc., but also for setting session messages with \Parable\Framework\SessionMessage and passing data internally through \Parable\GetSet\Internal. Some of them use PHP Superglobals, and some only use local resources.

GetSet types#

ClassTypePurpose
\Parable\GetSet\CookiesuperglobalWork with cookies,
\Parable\GetSet\EnvsuperglobalWork with environment variables.
\Parable\GetSet\FilessuperglobalWork with file uploads.
\Parable\GetSet\GetsuperglobalWork with GET values.
\Parable\GetSet\InputStreamlocal resourceWork with values in the HTTP request body, as happens for PUT and PATCH requests.
\Parable\GetSet\Internallocal resourceMake it easy to pass data from one point of an application to another (i.e. controller > view).
\Parable\GetSet\PostsuperglobalWork with POST values.
\Parable\GetSet\ServersuperglobalWork with SERVER values.
\Parable\GetSet\SessionsuperglobalWork with the session. Also allows starting/ending/etc.
Edit on GitHub

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions) in Unknown on line 0