postUnserialize() protected method

Override this method if you want to unserialize custom data in subclasses.
protected postUnserialize ( array $data )
$data array The unserialized data. Pop your custom data from the end of the array before calling the parent method.
 protected function postUnserialize(array $data)
 {
     $this->filesystemPath = array_pop($data);
     parent::postUnserialize($data);
 }
Esempio n. 2
0
 protected function postUnserialize(array $data)
 {
     $this->targetPath = array_pop($data);
     parent::postUnserialize($data);
 }