src/Leevel/Database/Connect.php
protected function handleDispatch(string $sql, array $bindParams = []): void
    {
        if ($this->dispatch) {
            $this->dispatch->handle(IConnect::SQL_EVENT, $sql, $bindParams);
        }
    }
protected function handleDispatch(string $sql, array $bindParams = []): void
    {
        if ($this->dispatch) {
            $this->dispatch->handle(IConnect::SQL_EVENT, $sql, $bindParams);
        }
    }
事件派发.

@param string $sql
@param array  $bindParams