Really basic application object.

This commit is contained in:
2020-12-15 21:10:42 +01:00
parent e11023d1c9
commit cf30a1280d
4 changed files with 255 additions and 4 deletions

View File

@@ -3,9 +3,24 @@
/**
* Composer autoload
*/
require_once __DIR__ . '/../vendor/autoload.php';
use Core\Application\Application;
use Illuminate\Container\Container;
require_once __DIR__ . '/../vendor/autoload.php';
$container = new Container();
/**
* todo: Create a new bootstrap architecture.
* Load providers
*/
require_once __DIR__ . '/../app/Bootstrap.php';
/**
* Create application & run
*/
$application = new Application(
$container
);
$application->run();