Changeset 509
- Timestamp:
- 04/14/07 11:47:38 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/stubSerializedObject.php
r498 r509 73 73 public function __sleep() 74 74 { 75 $this->data = serialize($this->classInstance); 75 if (null == $this->data && null != $this->classInstance) { 76 $this->data = serialize($this->classInstance); 77 } 78 76 79 return array('fqClassName', 'nqClassName', 'hashCode', 'data'); 77 80 } 78 81 79 82 /** 80 83 * returns an unserialized version of the class
