protected function serialize($value)
    {
        if (!is_array($value)) {
            return $value;
        }
        return Serialize::serialize($value, $this->serializer);
    }
protected function serialize($value)
    {
        if (!is_array($value)) {
            return $value;
        }
        return Serialize::serialize($value, $this->serializer);
    }
protected function serialize ( $ value ) { if ( ! is_array ( $ value ) ) { return $ value ; } return Serialize :: serialize ( $ value , $ this -> serializer ) ; }
Serialize value.
@param array $value
@return array|string
Serialize value .