(PHP 5)
ReflectionClass::getInterfaceNames — دریافت نام واسط
دریافت نام واسط.
This function has no parameters.
آرایه عدد به همراه نام واسطها به عنوان مقدار.
Example #1 مثال ReflectionClass::getInterfaceNames()
<?php
interface Foo { }
interface Bar { }
class Baz implements Foo, Bar { }
$rc1 = new ReflectionClass("Baz");
print_r($rc1->getInterfaceNames());
?>
The above example will output something similar to:
Array ( [0] => Foo [1] => Bar )