uopz_implement(3) php man page | unix.com

Man Page: uopz_implement

Operating Environment: php

Section: 3

UOPZ_IMPLEMENT(3)							 1							 UOPZ_IMPLEMENT(3)

uopz_implement - Implements an interface at runtime

SYNOPSIS
void uopz_implement (string $class, string $interface)
DESCRIPTION
Makes $class implement $interface
PARAMETERS
o $class - o $interface -
RETURN VALUES
EXAMPLES
Example #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
yaf_bootstrap_abstract(3) - php
yaf_plugin_abstract(3) - php
class_exists(3) - php
uopz_flags(3) - php
uopz_function(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Nicki Paul to the Moderator Team!