/** * Set container for response content * * @author Krzysztof Kalkhoff * * @param ResponseInterface $obj * @return Response */ public function setObject(ResponseInterface $obj) { $this->object = $obj; $this->setContent($obj->getContent()); $this->setContentType($obj->getContentType()); return $this; }