Prado\Data\SqlMap\Configuration\TParameterMap::nullifyDefaultValue PHP Method

nullifyDefaultValue() protected method

When the actual value matches the {@link NullValue TParameterProperty::setNullValue()}, set the current value to null.
protected nullifyDefaultValue ( $property, $value ) : mixed
return mixed null if NullValue matches currrent value.
    protected function nullifyDefaultValue($property, $value)
    {
        if (($nullValue = $property->getNullValue()) !== null) {
            if ($nullValue === $value) {
                $value = null;
            }
        }
        return $value;
    }