Skip to content

v0.16.0

Choose a tag to compare

@dvnc0 dvnc0 released this 12 Jun 04:48
· 38 commits to master since this release

Updates to injector and Application class, moving away from the initial basic Singleton pattern.
index.php files would now require Application_Registry::set($App)

<?php
// use statements etc
$App = Application::create(APP_ROOT, $_SERVER)
	->setConfig(resolve_fresh(Config::class, ['config' => parse_ini_file(APP_ROOT . '/App/Core/config.ini', true)]))
	->enableLatte();
Application_Registry::set($App);
$App->run();

Full Changelog: v0.15.1...v0.16.0