PEAR_Common::buildProvidesArray

PEAR_Common::buildProvidesArray()

PEAR_Common::buildProvidesArray() -- Build a array

Description

Build a "provides" array from data returned by analyzeSourceCode(). The format of the built array is like this:
array(
        'class;MyClass' => 
           array(
           'type' => 'class',
           'name' => 'MyClass'
           ),
           ...  
        )

Parameter

array $srcinfo

array with information about a source file as returned by the analyzeSourceCode() method.

Note

This function can not be called statically.

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