/** * Be sure to add our properties to the things to serialize * * @return array */ public function __sleep() { return array_merge(parent::__sleep(), array('labels')); }
/** * Be sure to add our properties to the things to serialize * * @return array */ public function __sleep() { return array_merge(parent::__sleep(), array('start', 'end', 'type')); }