public function getTables($like = null): array
    {
        if ($like === null) {
            $sql = 'SELECT table_name
                FROM information_schema.tables
                WHERE table_schema = database()';
        } else {
            $sql = sprintf('SELECT table_name
                FROM information_schema.tables
                WHERE table_schema = database()
                AND table_name LIKE %s;', $this->quoter->quoteValue($like));
        }

        return $this->db->queryValues($sql, 'table_name');
    }