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.

PEAR_Dependency2 (Previous) Specify a complex dependency on an OS/processor/kernel version, Use OS for simple operating system dependency. (Next)
Last updated: Tue, 22 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.