uopz_composeCompose a class Beschreibung
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 Parameter-Liste
Rückgabewerte
BeispieleBeispiel #1 uopz_compose example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
array(1) {
["myTrait"]=>
string(7) "myTrait"
}
array(1) {
["myClass"]=>
string(7) "myClass"
}
array(1) {
["myInterface"]=>
string(11) "myInterface"
}
|