final protected function getTransformedComparisonValue($rawComparisonValue, Model $model)
    {
        $columnSchema = $model->getRepositoryColumnSchemaForColumnReference($this->columnName);

        if ($columnSchema != null) {
            $closure = $columnSchema->getTransformIntoModelData();

            if ($closure !== null) {
                $rawComparisonValue = $closure($rawComparisonValue);
            }
        }

        return $rawComparisonValue;
    }
final protected function getTransformedComparisonValue($rawComparisonValue, Model $model)
    {
        $columnSchema = $model->getRepositoryColumnSchemaForColumnReference($this->columnName);

        if ($columnSchema != null) {
            $closure = $columnSchema->getTransformIntoModelData();

            if ($closure !== null) {
                $rawComparisonValue = $closure($rawComparisonValue);
            }
        }

        return $rawComparisonValue;
    }
final protected function getTransformedComparisonValue ( $ rawComparisonValue , Model $ model ) { $ columnSchema = $ model -> getRepositoryColumnSchemaForColumnReference ( $ this -> columnName ) ; if ( $ columnSchema != null ) { $ closure = $ columnSchema -> getTransformIntoModelData ( ) ; if ( $ closure !== null ) { $ rawComparisonValue = $ closure ( $ rawComparisonValue ) ; } } return $ rawComparisonValue ; }
Converts the comparison value used in the constructor to one which can be compared against that returned
by the relevant model.

@param $rawComparisonValue
@param Model $model
@return mixed
Converts the comparison value used in the constructor to one which can be compared against that returned by the relevant model .