File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,22 @@ public function isTransactional() : bool
6060 return true ;
6161 }
6262
63+ /**
64+ * Description of this migration.
65+ *
66+ * @return string
67+ */
6368 public function getDescription () : string
6469 {
6570 return '' ;
6671 }
6772
73+ /**
74+ * Warn with a message if some condition is met.
75+ *
76+ * @param bool $condition
77+ * @param string $message
78+ */
6879 public function warnIf (bool $ condition , string $ message = 'Unknown Reason ' ) : void
6980 {
7081 if (! $ condition ) {
@@ -155,6 +166,11 @@ public function getSql() : array
155166 return $ this ->plannedSql ;
156167 }
157168
169+ /**
170+ * Write some debug information to the console.
171+ *
172+ * @param string $message
173+ */
158174 protected function write (string $ message ) : void
159175 {
160176 $ this ->logger ->notice ($ message , ['migration ' => $ this ]);
You can’t perform that action at this time.
0 commit comments