public function parseFile($file)
    {
        $str = @\file_get_contents($file);
        if (false === $str) {
            throw new Exception('Can\'t read file.');
        }

        return $this->parse($str);
    }
public function parseFile($file)
    {
        $str = @\file_get_contents($file);
        if (false === $str) {
            throw new Exception('Can\'t read file.');
        }

        return $this->parse($str);
    }
public function parseFile ( $ file ) { $ str = @ \ file_get_contents ( $ file ) ; if ( false === $ str ) { throw new Exception ( 'Can\'t read file.' ) ; } return $ this -> parse ( $ str ) ; }
Parse m3u file

@param string $file
@return M3uData entries
@throws Exception
Parse m3u file