summaryrefslogtreecommitdiff
path: root/cli-config.php
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2022-01-10 20:29:04 +0100
committerDaniel Weipert <code@drogueronin.de>2022-01-10 20:29:04 +0100
commita319f3a419790925bed539ba141038c72a83e70f (patch)
treedfb24183cc693863df733e190dbbc6da93bb82e5 /cli-config.php
Initial commit
Diffstat (limited to 'cli-config.php')
-rw-r--r--cli-config.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/cli-config.php b/cli-config.php
new file mode 100644
index 0000000..917e29f
--- /dev/null
+++ b/cli-config.php
@@ -0,0 +1,10 @@
+<?php
+
+use Elements\DB;
+
+#require_once __DIR__ . '/vendor/autoload.php';
+
+DB::init();
+
+return \Doctrine\ORM\Tools\Console\ConsoleRunner::createHelperSet(DB::$entityManager);
+