aboutsummaryrefslogtreecommitdiffstats
path: root/imperium/Model/Web.php
diff options
context:
space:
mode:
Diffstat (limited to 'imperium/Model/Web.php')
-rw-r--r--imperium/Model/Web.php23
1 files changed, 12 insertions, 11 deletions
diff --git a/imperium/Model/Web.php b/imperium/Model/Web.php
index b30842a..7a2f07e 100644
--- a/imperium/Model/Web.php
+++ b/imperium/Model/Web.php
@@ -2,23 +2,24 @@
namespace Imperium\Model;
- use Imperium\Exception\Kedavra;
- use Imperium\File\File;
-
+ use DI\DependencyException;
+ use DI\NotFoundException;
+ use Imperium\Exception\Kedavra;
+
class Web extends Model
{
protected $table = "routes";
protected $routes = true;
-
- /**
- *
- * @throws Kedavra
- *
- * @return bool
- *
- */
+
+ /**
+ *
+ * @return bool
+ * @throws Kedavra
+ * @throws DependencyException
+ * @throws NotFoundException
+ */
public static function generate(): bool
{
return static::query()->connexion()->execute(static::$create_route_table_query);