uopz_composeCompose a class 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
<?php The 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" } |