protected function applyStatements(array $statements) { $handler = $this->getDatabaseHandler(); foreach ($statements as $statement) { $handler->exec($statement); } }