update : 2015.11.03
php.shukuma.com검색:
|
uopz_compose(PECL uopz >= 1.0.0) uopz_compose — Compose a class 설명
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 인수
반환값
예제Example #1 uopz_compose() example
<?php 위 예제의 출력 예시: array(1) { ["myTrait"]=> string(7) "myTrait" } array(1) { ["myClass"]=> string(7) "myClass" } array(1) { ["myInterface"]=> string(11) "myInterface" } |