execute($sql); $id = $this->db->getLastInsertID($sql); $tree = 'tr_0 tr_' . $id; $sql2 = <<execute($sql2); } catch (\Exception $e) { } } /** * {@inheritdoc} */ public function safeDown() { echo "M240507155532AddSystemMenu cannot be reverted.\n"; return false; } }