Override this method if you want to serialize custom data in subclasses.
protected preSerialize ( array &$data ) | ||
$data | array | The data to serialize. Add custom data at the end of the array. |
protected function preSerialize(array &$data) { parent::preSerialize($data); $data[] = $this->filesystemPath; }
protected function preSerialize(array &$data) { parent::preSerialize($data); $data[] = $this->targetPath; }