static function GetContents($path)
    {
        if (!self::Exists($path))
            throw new Exceptions\PathNotFoundException("File $path doesn't exist");
        
        if (!self::IsReadable($path))
            throw new Exceptions\PathNoAccessException("File $path cannot be read");
        
        return file_get_contents($path);
    }
static function GetContents($path)
    {
        if (!self::Exists($path))
            throw new Exceptions\PathNotFoundException("File $path doesn't exist");
        
        if (!self::IsReadable($path))
            throw new Exceptions\PathNoAccessException("File $path cannot be read");
        
        return file_get_contents($path);
    }
static function GetContents ( $ path ) { if ( ! self :: Exists ( $ path ) ) throw new Exceptions \ PathNotFoundException ( "File $path doesn't exist" ) ; if ( ! self :: IsReadable ( $ path ) ) throw new Exceptions \ PathNoAccessException ( "File $path cannot be read" ) ; return file_get_contents ( $ path ) ; }
Reads all contents from a file into a string
@param string $path
@return string
Reads all contents from a file into a string