ReflectionExtension::getDependencies

(PHP 5 >= 5.1.3, PHP 7)

ReflectionExtension::getDependenciesGets dependencies

Opis

public ReflectionExtension::getDependencies ( void ) : array

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()

add a note add a note

User Contributed Notes

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