Commits

Stepan Anchugov committed 2719854

[add] app bootstrap for CLI & tests

Comments (0)

Files changed (2)

app/AppKernel.php

 <?php
+use Kix\Framework\Kernel;
+
 /**
  * @author Stepan Anchugov <kixxx1@gmail.com>
  */
-class AppKernel
+class AppKernel extends Kernel
 {
 
+    public function initPackages()
+    {
+        $this->addPackage(new \Kix\MovieDb\MovieDb());
+    }
+
 }

app/bootstrap.php

 <?php
 /**
  * @author Stepan Anchugov <kixxx1@gmail.com>
- */
+ */
+
+//var_dump(realpath()); die;
+
+require(__DIR__.'/../vendor/autoload.php');