ReflectionExtension::getDependencies
(PHP 5)
ReflectionExtension::getDependencies — Gets dependencies
Opis
public array ReflectionExtension::getDependencies
( void
)
Gets dependencies, by listing both required and conflicting dependencies.
Parametry
Ta funkcja nie posiada parametrów.
Zwracane wartości
An associative array with dependencies as keys and either Required, Optional or Conflicts as the values.
Przykłady
Przykład #1 ReflectionExtension::getDependencies() example
<?php
$dom = new ReflectionExtension('dom');
print_r($dom->getDependencies());
?>
Powyższy przykład wyświetli coś podobnego do:
Array
(
[libxml] => Required
[domxml] => Conflicts
)
Zobacz też:
- ReflectionClass::getVersion()
There are no user contributed notes for this page.
