winter/modules/system/aliases.php
2015-10-02 05:11:39 +10:00

65 lines
3.1 KiB
PHP

<?php
return [
/*
* Laravel aliases
*/
'App' => 'Illuminate\Support\Facades\App',
'Artisan' => 'Illuminate\Support\Facades\Artisan',
'Bus' => 'Illuminate\Support\Facades\Bus',
'Cache' => 'Illuminate\Support\Facades\Cache',
'Cookie' => 'Illuminate\Support\Facades\Cookie',
'Crypt' => 'Illuminate\Support\Facades\Crypt',
'Db' => 'Illuminate\Support\Facades\DB', // Preferred
'DB' => 'Illuminate\Support\Facades\DB',
'Eloquent' => 'Illuminate\Database\Eloquent\Model',
'Event' => 'Illuminate\Support\Facades\Event',
'Hash' => 'Illuminate\Support\Facades\Hash',
'Input' => 'Illuminate\Support\Facades\Input',
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
'Mail' => 'Illuminate\Support\Facades\Mail',
'Password' => 'Illuminate\Support\Facades\Password',
'Queue' => 'Illuminate\Support\Facades\Queue',
'Redirect' => 'Illuminate\Support\Facades\Redirect',
'Redis' => 'Illuminate\Support\Facades\Redis',
'Request' => 'Illuminate\Support\Facades\Request',
'Response' => 'Illuminate\Support\Facades\Response',
'Route' => 'Illuminate\Support\Facades\Route',
'Schema' => 'Illuminate\Support\Facades\Schema',
'Session' => 'Illuminate\Support\Facades\Session',
'Storage' => 'Illuminate\Support\Facades\Storage',
'Url' => 'Illuminate\Support\Facades\URL', // Preferred
'URL' => 'Illuminate\Support\Facades\URL',
'Validator' => 'Illuminate\Support\Facades\Validator',
'View' => 'Illuminate\Support\Facades\View',
'Form' => 'Illuminate\Html\FormFacade',
'Html' => 'Illuminate\Html\HtmlFacade', // Preferred
'HTML' => 'Illuminate\Html\HtmlFacade',
/*
* October aliases
*/
'Model' => 'October\Rain\Database\Model',
'Block' => 'October\Rain\Support\Facades\Block',
'File' => 'October\Rain\Support\Facades\File',
'Config' => 'October\Rain\Support\Facades\Config',
'Seeder' => 'October\Rain\Database\Updates\Seeder',
'Flash' => 'October\Rain\Support\Facades\Flash',
'Http' => 'October\Rain\Support\Facades\Http',
'Str' => 'October\Rain\Support\Facades\Str',
'Markdown' => 'October\Rain\Support\Facades\Markdown',
'Yaml' => 'October\Rain\Support\Facades\Yaml',
'Ini' => 'October\Rain\Support\Facades\Ini',
'Twig' => 'October\Rain\Support\Facades\Twig',
'DbDongle' => 'October\Rain\Support\Facades\DbDongle',
'Backend' => 'Backend\Facades\Backend',
'BackendMenu' => 'Backend\Facades\BackendMenu',
'BackendAuth' => 'Backend\Facades\BackendAuth',
'AjaxException' => 'October\Rain\Exception\AjaxException',
'SystemException' => 'October\Rain\Exception\SystemException',
'ApplicationException' => 'October\Rain\Exception\ApplicationException',
'ValidationException' => 'October\Rain\Exception\ValidationException',
];