We can also associate instances at runtime by passing a
reference in a constructor (or any other method), which
allow us to dynamically change the association relationship
between objects. We will modify the example above to
illustrate this point:
Příklad2.
Příklady
Příklad3.storage_classes.inc
Příklad4.test_aggregation.php
Obsah
aggregate_info
-- returns an associative array of the methods and
properties from each class that has been aggregated to
the object.