public function get($file)
    {
        $path = $this->getPath($file);

        if (! file_exists($path)) {
            throw new FileDoesNotExists;
        }

        return file_get_contents($path);
    }
public function get($file)
    {
        $path = $this->getPath($file);

        if (! file_exists($path)) {
            throw new FileDoesNotExists;
        }

        return file_get_contents($path);
    }
public function get ( $ file ) { $ path = $ this -> getPath ( $ file ) ; if ( ! file_exists ( $ path ) ) { throw new FileDoesNotExists ; } return file_get_contents ( $ path ) ; }
Get file contents.
@param $file
@return string
@throws FileDoesNotExists
Get file contents .