ReflectionClass::getInterfaceNames
(PHP 5)
ReflectionClass::getInterfaceNames — Gets the interface names
Descrierea
public array ReflectionClass::getInterfaceNames
( void
)
Get the interface names.
Parametri
Această funcţie nu are parametri.
Valorile întroarse
A numerical array with interface names as the values.
Exemple
Example #1 ReflectionClass::getInterfaceNames example
<?php
interface Foo { }
interface Bar { }
class Baz implements Foo, Bar { }
$rc1 = new ReflectionClass("Baz");
print_r($rc1->getInterfaceNames());
?>
Exemplul de mai sus va afişa ceva similar cu:
Array
(
[0] => Foo
[1] => Bar
)
ReflectionClass::getInterfaceNames
There are no user contributed notes for this page.
