public function __construct($statusCode) { $this->statusCode = (int) $statusCode; $this->bodyList = []; $this->headers = []; }