PEAR_Dependency2::normalizeDep

PEAR_Dependency2::normalizeDep() – Convert a 1.0 dep into a 2.0 dep

Synopsis

require_once '/Dependency2.php';

array PEAR_Dependency2::normalizeDep ( array $dep )

Description

This converts an old-style package.xml 1.0 <dep> tag into the format used by package.xml 2.0. package.xml 2.0 can represent every kind of <dep> tag in its new syntax.

Parameter

array $dep

The package.xml 1.0 <dep> as parsed from xml.

Throws

throws no exceptions thrown

Note

This function can not be called statically.