PEAR_PackageFile::factory()

PEAR_PackageFile::factory()  -- factory

Synopsis

require_once '/PackageFile.php';

PEAR_PackageFile_v1|PEAR_PackageFile_v2& PEAR_PackageFile::factory (string $version)

Description

Retrieve a raw PEAR_PackageFile_vX object where X is either 1 or 2.

Parameter

string $version

The package.xml version represented (1 or 2)

Throws

throws no exceptions thrown

Note

This function can not be called statically.