_path = $path; else throw new Exception('File (' . $path . ') does not exist'); } /** * Get file contents from path * @return string */ public function __toString() { return file_get_contents($this->_path); } }