# RequestParameter methods

## \_\_construct( setup ) <a href="#construct" id="construct"></a>

* **`setup`** A hash array with the following possible keys:
  * **`name`** An name for the parameter, it will let you refer to this component in the future.
  * **`type`** The type of the parameter, from one of the following available types:
    * `REQUEST_PARAMETER_TYPE_GET`
    * `REQUEST_PARAMETER_TYPE_POST`
    * `REQUEST_PARAMETER_TYPE_FILE`
  * **`securityRules`** An array of the security rules that must be applied to the value received by this parameter. See [Working with Security](https://cherrycake.tin.cat/version-1.x-beta/reference/core-classes/requestparameter/broken-reference) for a list of all the available rules.
  * **`filters`** An array of the filters that must be applied to the value received by this parameter. See [Working with Security](https://cherrycake.tin.cat/version-1.x-beta/reference/core-classes/requestparameter/broken-reference) for a list of all the available filters.
