PEAR_Common::buildProvidesArray()
PEAR_Common::buildProvidesArray() -- Build a array
概要
require_once 'PEAR/common.php'; |
void
PEAR_Common::buildProvidesArray (array $srcinfo)
説明
Build a "provides" array from data returned
by analyzeSourceCode().
The format of the built array is like this:
<?php
array(
'class;MyClass' =>
array(
'type' => 'class',
'name' => 'MyClass'
),
...
)
?>
|
パラメータ
- array
$srcinfo
array with information about a
source file as returned by the
analyzeSourceCode() method.
注意
この関数は、スタティックにコールする
ことはできません。