/**
  * Returns the names of the properties that should be serialized
  *
  * @return array
  */
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array(
         'class',
         'name',
         'property',
         'cascaded', // TESTME
     ));
 }
Example #2
0
 /**
  * Returns the properties to be serialized
  *
  * @return array
  */
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array(
         'getters',
         'groupSequence',
         'members',
         'name',
         'properties',
         'defaultGroup'
     ));
 }
Example #3
0
 /**
  * {@inheritdoc}
  */
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array('class', 'name', 'property'));
 }
 /**
  * {@inheritdoc}
  */
 public function __sleep()
 {
     $parentProperties = parent::__sleep();
     // Don't store the cascading strategy. Classes never cascade.
     unset($parentProperties[array_search('cascadingStrategy', $parentProperties)]);
     return array_merge($parentProperties, array('getters', 'groupSequence', 'groupSequenceProvider', 'members', 'name', 'properties', 'defaultGroup'));
 }
Example #5
0
 /**
  * Returns the names of the properties that should be serialized
  *
  * @return array
  */
 public function __sleep()
 {
     return array_merge(parent::__sleep(), array('class', 'name', 'property', 'cascaded', 'collectionCascaded', 'collectionCascadedDeeply'));
 }