Home > PHP > Function > Object Aggregation > deaggregate()

deaggregate()

deaggregate - Removes the aggregated methods and properties from an object

Syntax

deaggregate (object $object, string $class_name)

Arguments

  • object
  • class_name - If the optional class_name parameters is passed, only those methods and properties defined in that class are removed, otherwise all aggregated methods and properties are eliminated.

Description

Removes the methods and properties from classes that were aggregated to an object.

Version

PHP 4.2.0

Return value

No value is returned.