/** * @param mixed $value * * @return string */ public function serialize($value) { return \json_encode(parent::serialize($value), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES); }
/** * @param mixed $value * * @return string */ public function serialize($value) { return $this->flatten(parent::serialize($value)); }