PHP » GoLang |
login |
register |
about
|
|
uopz_compose(PECL uopz 1, PECL uopz 2) uopz_compose — Compose a class Warning
This function has been REMOVED in PECL uopz 5.0.0. Description
void uopz_compose
( string
$name
, array $classes
[, array $methods
[, array $properties
[, int $flags
]]] )Creates a new class of the given name that implements, extends, or uses all of the provided classes Parameters
Return Values
ExamplesExample #1 uopz_compose() example
<?phpThe above example will output something similar to:
array(1) {
["myTrait"]=>
string(7) "myTrait"
}
array(1) {
["myClass"]=>
string(7) "myClass"
}
array(1) {
["myInterface"]=>
string(11) "myInterface"
}
|
more
Most requested
more
Last requests
|