conn = $conn; } /** * @param string[] $sql */ protected function processSqlSafely(array $sql) { foreach ($sql as $s) { try { $this->conn->exec($s); } catch (Throwable $e) { } } } /** * @param string[] $sql */ protected function processSql(array $sql) { foreach ($sql as $s) { $this->conn->exec($s); } } }