/** * Returns the properties to be serialized * * @return array */ public function __sleep() { return array_merge(parent::__sleep(), array('getters', 'groupSequence', 'members', 'name', 'properties', 'shortName')); }
/** * Returns the names of the properties that should be serialized * * @return array */ public function __sleep() { return array_merge(parent::__sleep(), array('class', 'name', 'property')); }