public function __construct(array $attributes = [], $config = []) { $this->replace($attributes); parent::__construct($config); }
public function __construct(array $data = [], $config = []) { $this->replace($data); parent::__construct($config); }
public function __construct(Request $request, $config = []) { $request->params->set('foo', 'bar'); parent::__construct($config); }
public function __construct(array $cookies = [], $config = []) { $this->cookies = static::normalize($cookies); parent::__construct($config); }