#!/usr/bin/env php
<?php

use App\Application;
use App\Kernel;

require_once __DIR__ . '/../vendor/autoload.php';

$app = new Application(realPath(__DIR__ . '/..'));
$kernel = new Kernel($app);

$returnVar = $app->run($kernel);
exit($returnVar);