src/BTR/RedisObjects/RedisObject.php
public function serialize($value): string
    {
        //TODO: maybe only serialize non-scalar values?
        return $this->base64 ? base64_encode(serialize($value)) : serialize($value);
    }
public function serialize($value): string
    {
        //TODO: maybe only serialize non-scalar values?
        return $this->base64 ? base64_encode(serialize($value)) : serialize($value);
    }
public function serialize ( $ value ) : string { //TODO: maybe only serialize non-scalar values? return $ this -> base64 ? base64_encode ( serialize ( $ value ) ) : serialize ( $ value ) ; }
@param mixed $value

@return string
@param mixed $value