ReflectionExtension
PHP Manual

ReflectionExtension::getDependencies

(PHP 5)

ReflectionExtension::getDependenciesGets dependencies

Descrizione

public array ReflectionExtension::getDependencies ( void )

Gets dependencies, by listing both required and conflicting dependencies.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

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

Esempi

Example #1 ReflectionExtension::getDependencies() example

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

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

Il precedente esempio visualizzerĂ  qualcosa simile a:

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

Vedere anche:


ReflectionExtension
PHP Manual