ReflectionExtension::getDependencies

(PHP 5, PHP 7)

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.

예제

Example #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