protected function getTransposeClosure($operator, $value)
    {
        $value = hexdec($value) * ($operator === '-' ? -1 : 1);
        $converter = $this->converter;

        return function ($matches) use ($value, $converter) {
            return $converter->toUTF8Character(
                $converter->toUnicodeCodepoint($matches[0]) + $value
            );
        };
    }
protected function getTransposeClosure($operator, $value)
    {
        $value = hexdec($value) * ($operator === '-' ? -1 : 1);
        $converter = $this->converter;

        return function ($matches) use ($value, $converter) {
            return $converter->toUTF8Character(
                $converter->toUnicodeCodepoint($matches[0]) + $value
            );
        };
    }
protected function getTransposeClosure ( $ operator , $ value ) { $ value = hexdec ( $ value ) * ( $ operator === '-' ? - 1 : 1 ) ; $ converter = $ this -> converter ; return function ( $ matches ) use ( $ value , $ converter ) { return $ converter -> toUTF8Character ( $ converter -> toUnicodeCodepoint ( $ matches [ 0 ] ) + $ value ) ; } ; }
Returns a closure which modifies the provided character by the given
value.

@param string $operator
@param string $value

@return callback
Returns a closure which modifies the provided character by the given value .