public function getContents() { if ($this->_contents === null) { $this->_contents = IOHelper::getFileContents($this->filenamePath); if ($this->_contents === false) { throw new Exception('Minimee could not get local asset: ' . $this->filenamePath); } } return $this->_contents; }