public function getContents() { if ($this->_contents === null) { $response = $this->_sendClientRequest(); if ($response->isSuccessful()) { $this->_contents = $response->getBody(true); } else { throw new Exception('Minimee could not get remote asset: ' . $this->filenameUrl); } } return $this->_contents; }