PEAR_PackageFile::parserFactory

PEAR_PackageFile::parserFactory() – parserFactory

Synopsis

require_once '/PackageFile.php';

PEAR_PackageFile_Parser_v1|PEAR_PackageFile_Parser_v2& PEAR_PackageFile::parserFactory ( string $version )

Description

Return a package.xml parsing object appropriate for the selected package.xml version.

Parameter

string $version

The package.xml version represented (1 or 2)

Throws

throws no exceptions thrown

Note

This function can not be called statically.