ReflectionExtension::getConstants
ReflectionExtension::getFunctions
ReflectionExtension
PHP Manual

# ReflectionExtension::getDependencies

(PHP 5)

ReflectionExtension::getDependencies — Gets dependencies

### Descrição

public array ReflectionExtension::getDependencies ( void )

Gets dependencies, by listing both required and conflicting dependencies.

### Parâmetros

Esta função não contém parâmetros.

### Valor Retornado

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

### Exemplos

Exemplo #1 ReflectionExtension::getDependencies example

`<?php
$dom = new ReflectionExtension('dom');
print_r($dom->getDependencies());
?>`

O exemplo acima irá imprimir algo similar a:

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

### Veja Também

- ReflectionClass::getVersion

ReflectionExtension::getConstants
ReflectionExtension::getFunctions
ReflectionExtension
PHP Manual