diff --git a/.idea/MkSQL.iml b/.idea/MkSQL.iml
index ecfb1d2..414f14e 100644
--- a/.idea/MkSQL.iml
+++ b/.idea/MkSQL.iml
@@ -5,6 +5,7 @@
+
diff --git a/src/Utilities/Installable.php b/src/Utilities/Installable.php
index b135f83..e698f21 100644
--- a/src/Utilities/Installable.php
+++ b/src/Utilities/Installable.php
@@ -72,7 +72,9 @@ private function executeInstallation(): void
// Process Updated
$this->updater->installable = null;
+ $this->beforeInstallation();
$this->updater->install();
+ $this->afterInstallation();
}
public static function uninstallAll(PDO $pdo): void
@@ -103,4 +105,10 @@ public static function uninstallAll(PDO $pdo): void
return $this->updater->tableList();
}
+ /** Hook fired before the 'install' function of the updater */
+ protected function beforeInstallation(): void { }
+
+ /** Hook fired after the 'install' function of the updater */
+ protected function afterInstallation(): void { }
+
}