for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Luthier loader
*
* @author Anderson Salas <[email protected]>
* @copyright 2017
* @license GNU-3.0
*/
namespace Luthier\Core;
class Loader
{
* Returns the Luthier required hooks
* @return array
* @access public
* @static
public static function init()
return [
'pre_system' =>
[
function()
function route($name, $args = NULL)
return Route::getRouteByName($name, $args);
}
],
'post_controller_constructor' =>
Middleware::init();
];