Ejemplo n.º 1
0
 /**
  * Magic sleep method that returns an array with those property names that
  * should be cached for this node instance.
  *
  * @return array(string)
  */
 public function __sleep()
 {
     return array_merge(array('value'), parent::__sleep());
 }
Ejemplo n.º 2
0
 /**
  * The magic sleep method will be called by PHP's runtime environment right
  * before an instance of this class gets serialized. It should return an
  * array with those property names that should be serialized for this class.
  *
  * @return array(string)
  * @since 0.10.0
  */
 public function __sleep()
 {
     return array_merge(array('passedByReference'), parent::__sleep());
 }
Ejemplo n.º 3
0
 /**
  * The magic sleep method will be called by PHP's runtime environment right
  * before an instance of this class gets serialized. It should return an
  * array with those property names that should be serialized for this class.
  *
  * @return array(string)
  * @since 0.10.0
  */
 public function __sleep()
 {
     return array_merge(array('default'), parent::__sleep());
 }
Ejemplo n.º 4
0
 /**
  * The magic sleep method will be called by PHP's runtime environment right
  * before an instance of this class gets serialized. It should return an
  * array with those property names that should be serialized for this class.
  *
  * @return array(string)
  * @since 0.10.0
  */
 public function __sleep()
 {
     return array_merge(array('modifiers'), parent::__sleep());
 }