PEAR_PackageFile::fromArray

PEAR_PackageFile::fromArray()

PEAR_PackageFile::fromArray()  -- Return a packagefile object from its toArray() method

Description

Warning

WARNING: no validation is performed, the array is assumed to be valid, always parse from xml if you want validation.

Parameter

array $arr

Contents of a previously parsed package.xml object.

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.