-
Notifications
You must be signed in to change notification settings - Fork 31
Core\Alias
Fariz Luqman edited this page Jul 11, 2016
·
1 revision
Responsible to register the array of class aliases when this application is started.
Aliases can be found in the file config/aliases.php
.
Prior to version 0.2.0:
<?php
return [
'Core\App' => 'App',
'Core\Cache' => 'Cache',
'Core\Config' => 'Config',
'Core\Database' => 'Database',
'Core\Debugger' => 'Debugger',
'Core\Router' => 'Router',
'Core\Sharer' => 'Sharer',
'Core\Viewer' => 'Viewer',
'Cartalyst\Sentry\Facades\Native\Sentry' => 'Sentry'
];
The method Core\Alias::init();
will register all of the aliases in the config/aliases.php
file.