private function transformResult($result)
    {
        if ($this->actualDriver() === self::DRIVER_PREDIS && $result instanceof Status) {
            $result = $result->getPayload() === 'OK';
        }
        return $result;
    }
private function transformResult($result)
    {
        if ($this->actualDriver() === self::DRIVER_PREDIS && $result instanceof Status) {
            $result = $result->getPayload() === 'OK';
        }
        return $result;
    }
private function transformResult ( $ result ) { if ( $ this -> actualDriver ( ) === self :: DRIVER_PREDIS && $ result instanceof Status ) { $ result = $ result -> getPayload ( ) === 'OK' ; } return $ result ; }
Transforms Predis result Payload to boolean
@param mixed $result
@return mixed
Transforms Predis result Payload to boolean