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: 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.