public function valueBinder($binder = null)
    {
        deprecationWarning('Query::valueBinder() is deprecated. Use Query::getValueBinder()/setValueBinder() instead.');
        if ($binder === null) {
            if ($this->_valueBinder === null) {
                $this->_valueBinder = new ValueBinder();
            }

            return $this->_valueBinder;
        }
        $this->_valueBinder = $binder;

        return $this;
    }
public function valueBinder($binder = null)
    {
        deprecationWarning('Query::valueBinder() is deprecated. Use Query::getValueBinder()/setValueBinder() instead.');
        if ($binder === null) {
            if ($this->_valueBinder === null) {
                $this->_valueBinder = new ValueBinder();
            }

            return $this->_valueBinder;
        }
        $this->_valueBinder = $binder;

        return $this;
    }
public function valueBinder ( $ binder = null ) { deprecationWarning ( 'Query::valueBinder() is deprecated. Use Query::getValueBinder()/setValueBinder() instead.' ) ; if ( $ binder === null ) { if ( $ this -> _valueBinder === null ) { $ this -> _valueBinder = new ValueBinder ( ) ; } return $ this -> _valueBinder ; } $ this -> _valueBinder = $ binder ; return $ this ; }
Returns the currently used ValueBinder instance. If a value is passed,
it will be set as the new instance to be used.

A ValueBinder is responsible for generating query placeholders and temporarily
associate values to those placeholders so that they can be passed correctly
to the statement object.

@deprecated 3.5.0 Use setValueBinder()/getValueBinder() instead.
@param \Cake\Database\ValueBinder|false|null $binder new instance to be set. If no value is passed the
default one will be returned
@return $this|\Cake\Database\ValueBinder
Returns the currently used ValueBinder instance . If a value is passed it will be set as the new instance to be used .