ReflectionExtension::getDependencies

(PHP 5)

ReflectionExtension::getDependenciesGets dependencies

Опис

public array ReflectionExtension::getDependencies ( void )

Gets dependencies, by listing both required and conflicting dependencies.

Параметри

В цієї функції немає параметрів.

Значення, що повертаються

An associative array with dependencies as keys and either Required, Optional or Conflicts as the values.

Приклади

Приклад #1 ReflectionExtension::getDependencies() example

<?php
$dom 
= new ReflectionExtension('dom');

print_r($dom->getDependencies());
?>

Наведений вище приклад виведе щось подібне до:

Array
(
    [libxml] => Required
    [domxml] => Conflicts
)

Прогляньте Також

  • ReflectionClass::getVersion()

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top