public function toStatement($value, Driver $driver)
    {
        if ($value === null) {
            return PDO::PARAM_NULL;
        }

        return PDO::PARAM_BOOL;
    }
public function toStatement($value, Driver $driver)
    {
        if ($value === null) {
            return PDO::PARAM_NULL;
        }

        return PDO::PARAM_BOOL;
    }
public function toStatement ( $ value , Driver $ driver ) { if ( $ value === null ) { return PDO :: PARAM_NULL ; } return PDO :: PARAM_BOOL ; }
Get the correct PDO binding type for bool data.

@param mixed $value The value being bound.
@param \Cake\Database\Driver $driver The driver.
@return int
Get the correct PDO binding type for bool data .