Query: uopz_implement
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UOPZ_IMPLEMENT(3) 1 UOPZ_IMPLEMENT(3) uopz_implement - Implements an interface at runtimeSYNOPSISvoid uopz_implement (string $class, string $interface)DESCRIPTIONMakes $class implement $interfacePARAMETERSo $class - o $interface -RETURN VALUESEXAMPLESExample #1 uopz_implement(3) example <?php interface myInterface {} class myClass {} uopz_implement(myClass::class, myInterface::class); var_dump(class_implements(myClass::class)); ?> The above example will output something similar to: array(1) { ["myInterface"]=> string(11) "myInterface" } PHP Documentation Group UOPZ_IMPLEMENT(3)
| Related Man Pages |
|---|
| get_class(3) - php |
| class_exists(3) - php |
| class_parents(3) - php |
| uopz_flags(3) - php |
| reflectionclass.newinstanceargs(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
| New Code Tags (Syntax Highlighting) |
| Status of UNIX.COM Forum Transformation |
| Please Welcome Ravinder Singh to the Moderation Team |