constructor PEAR_PackageFile::PEAR_PackageFile

constructor PEAR_PackageFile::PEAR_PackageFile() – PEAR_PackageFile

Synopsis

require_once '/PackageFile.php';

void constructor PEAR_PackageFile::PEAR_PackageFile ( PEAR_Config &$config , bool $debug = false , string $tmpdir = false )

Description

Prepare for parsing one or more package.xml files.

Parameter

PEAR_Config &$config

The configuration to use for parsing and channel registry (needed for channel-specific validators).

boolean $debug

The debug logging level (this is usually the value of the verbose configuration variable).

string $tmpdir

The temporary directory to extract files in. By default, a new temporary directory is created using System::mktemp().

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Abstraction for the package.xml package description file (Previous) factory (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.