/** * Called to prepare the object for serialization * * @return string[] list of properties to serialize */ public function __sleep() { $properties = array('dataRead', 'parents', 'tree', 'author', 'authorEpoch', 'authorTimezone', 'committer', 'committerEpoch', 'committerTimezone', 'title', 'comment', 'readTree'); return array_merge($properties, parent::__sleep()); }
/** * __sleep * * Called to prepare the object for serialization * * @access public * @return array list of properties to serialize */ public function __sleep() { $properties = array('refName', 'refDir'); return array_merge($properties, parent::__sleep()); }
/** * __sleep * * Called to prepare the object for serialization * * @access public * @return array list of properties to serialize */ public function __sleep() { if (!$this->parentsReferenced) { $this->ReferenceParents(); } if (!$this->treeReferenced) { $this->ReferenceTree(); } $properties = array('dataRead', 'parents', 'tree', 'author', 'authorEpoch', 'authorTimezone', 'committer', 'committerEpoch', 'committerTimezone', 'title', 'comment', 'readTree', 'blobPaths', 'treePaths', 'hashPathsRead', 'parentsReferenced', 'treeReferenced'); return array_merge($properties, parent::__sleep()); }