public function toSqlBoolean(bool $boolean, Provider $provider = null)
    {
        $this->setParameterProvider($provider);

        return $provider->convertToSqlBoolean($boolean);
    }
public function toSqlBoolean(bool $boolean, Provider $provider = null)
    {
        $this->setParameterProvider($provider);

        return $provider->convertToSqlBoolean($boolean);
    }
public function toSqlBoolean ( bool $ boolean , Provider $ provider = null ) { $ this -> setParameterProvider ( $ provider ) ; return $ provider -> convertToSqlBoolean ( $ boolean ) ; }
Converts a PHP boolean to an SQL boolean

@param bool $boolean The boolean to convert
@param Provider $provider The provider to convert to
@return mixed The SQL boolean suitable for database storage
Converts a PHP boolean to an SQL boolean