/** * Creates the application * * @return App */ public function createApplication() { return AppFactory::createTestApp(require __DIR__ . '/../../config.php'); }
<?php use Owr\App\AppFactory; require_once __DIR__ . '/../vendor/autoload.php'; $app = AppFactory::createApp(require __DIR__ . '/../config.php'); $app->run();