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 preSerialize ( array &$data ) | ||
$data | array | The data to serialize. Add custom data at the end of the array. |