lithium\action\Response::__construct PHP Метод

__construct() публичный Метод

Config options also include default values for Response::body() when called from Response::render().
См. также: lithium\net\http\Message::body()
См. также: lithium\net\http\Response::__construct()
См. также: lithium\net\http\Message::__construct()
См. также: lithium\net\Message::__construct()
public __construct ( array $config = [] ) : void
$config array The available configuration options are the following. Further options are inherited from the parent classes. - `'buffer'` _integer_: Defaults to `null` - `'decode'` _boolean_: Defaults to `null`. - `'location'` _array|string|null_: Defaults to `null`. - `'request'` _object_: Defaults to `null`.
Результат void
    public function __construct(array $config = array())
    {
        $defaults = array('buffer' => 8192, 'location' => null, 'request' => null, 'decode' => false);
        parent::__construct($config + $defaults);
    }