AGGREGATE_PROPERTIES_BY_REGEXP(3) 1 AGGREGATE_PROPERTIES_BY_REGEXP(3)
aggregate_properties_by_regexp - Selective class properties aggregation to an object using a regular expression
SYNOPSIS
void aggregate_properties_by_regexp (object $object, string $class_name, string $regexp, [bool $exclude = false])
DESCRIPTION
Aggregates properties from a class to an existing object using a regular expression to match their names.
The properties whose names start with an underscore character (_), which are considered private to the aggregated class, are always
excluded.
PARAMETERS
o $object
-
o $class_name
-
o $regexp
-
o $exclude
- The optional parameter $exclude is used to decide whether the regular expression will select the names of class properties to
include in the aggregation (i.e. $exclude is FALSE), or to exclude from the aggregation ($exclude is TRUE).
RETURN VALUES
No value is returned.
SEE ALSO
aggregate(3), aggregate_methods(3), aggregate_methods_by_list(3), aggregate_methods_by_regexp(3), aggregate_properties(3), aggregate_prop-
erties_by_list(3), aggregate_info(3), deaggregate(3).
PHP Documentation Group AGGREGATE_PROPERTIES_BY_REGEXP(3)