protected function getComparisonValue($validator, $comparisonField)
    {
        $comparisonFieldValue = isset($validator->getData()[$comparisonField]) ? $validator->getData()[$comparisonField] : null;
        return $comparisonFieldValue;
    }
protected function getComparisonValue($validator, $comparisonField)
    {
        $comparisonFieldValue = isset($validator->getData()[$comparisonField]) ? $validator->getData()[$comparisonField] : null;
        return $comparisonFieldValue;
    }
protected function getComparisonValue ( $ validator , $ comparisonField ) { $ comparisonFieldValue = isset ( $ validator -> getData ( ) [ $ comparisonField ] ) ? $ validator -> getData ( ) [ $ comparisonField ] : null ; return $ comparisonFieldValue ; }
Get comparison value

@param $validator
@param $comparisonField
@return null
Get comparison value