public function __construct(ApiResponse $response) { parent::__construct(); $this->response = $response; }