PEAR_Dependency2::normalizeDep

PEAR_Dependency2::normalizeDep()

PEAR_Dependency2::normalizeDep()  -- Convert a 1.0 dep into a 2.0 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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.