public function setShouldCompareFields($shouldCompareFields)
    {
        // We need to set shouldQuoteValues to the opposite of shouldCompareFields
        $this->shouldQuoteValues = !$shouldCompareFields;

        $this->shouldCompareFields = (bool)$shouldCompareFields;
        return $this;
    }
public function setShouldCompareFields($shouldCompareFields)
    {
        // We need to set shouldQuoteValues to the opposite of shouldCompareFields
        $this->shouldQuoteValues = !$shouldCompareFields;

        $this->shouldCompareFields = (bool)$shouldCompareFields;
        return $this;
    }
public function setShouldCompareFields ( $ shouldCompareFields ) { // We need to set shouldQuoteValues to the opposite of shouldCompareFields $ this -> shouldQuoteValues = ! $ shouldCompareFields ; $ this -> shouldCompareFields = ( bool ) $ shouldCompareFields ; return $ this ; }
Set whether the fields should be compared rather than values. If so, quoteValues is set to inverted value.

@param bool $shouldCompareFields

@return $this
Set whether the fields should be compared rather than values . If so quoteValues is set to inverted value .