Esempio n. 1
0
 /**
  * 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());
 }
Esempio n. 2
0
 /**
  * __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());
 }
Esempio n. 3
0
 /**
  * __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());
 }