AGGREGATE(3) 1 AGGREGATE(3)
aggregate - Dynamic class and object aggregation of methods and properties
SYNOPSIS
void aggregate (object $object, string $class_name)
DESCRIPTION
Aggregates methods and properties defined in a class to an existing object. Methods and properties with names starting with an underscore
character (_) are considered private to the aggregated class and are not used, constructors are also excluded from the aggregation proce-
dure.
PARAMETERS
o $object
-
o $class_name
-
RETURN VALUES
No value is returned.
SEE ALSO
aggregate_info(3), aggregate_methods(3), aggregate_methods_by_list(3), aggregate_methods_by_regexp(3), aggregate_properties(3), aggre-
gate_properties_by_list(3), aggregate_properties_by_regexp(3), deaggregate(3).
PHP Documentation Group AGGREGATE(3)