aliases.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. return array(
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Class Aliases
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here, you can specify any class aliases that you would like registered
  9. | when Laravel loads. Aliases are lazy-loaded, so add as many as you want.
  10. |
  11. | Aliases make it more convenient to use namespaced classes. Instead of
  12. | referring to the class using its full namespace, you may simply use
  13. | the alias defined here.
  14. |
  15. | We have already aliased common Laravel classes to make your life easier.
  16. |
  17. */
  18. 'Arr' => 'Laravel\\Arr',
  19. 'Asset' => 'Laravel\\Facades\\Asset',
  20. 'Auth' => 'Laravel\\Facades\\Auth',
  21. 'Benchmark' => 'Laravel\\Benchmark',
  22. 'Cache' => 'Laravel\\Facades\\Cache',
  23. 'Config' => 'Laravel\\Facades\\Config',
  24. 'Controller' => 'Laravel\\Controller',
  25. 'Cookie' => 'Laravel\\Facades\\Cookie',
  26. 'Crypter' => 'Laravel\\Facades\\Crypter',
  27. 'DB' => 'Laravel\\Facades\\DB',
  28. 'Download' => 'Laravel\\Facades\\Download',
  29. 'Eloquent' => 'Laravel\\Database\\Eloquent\\Model',
  30. 'File' => 'Laravel\\Facades\\File',
  31. 'Form' => 'Laravel\\Facades\\Form',
  32. 'Hasher' => 'Laravel\\Facades\\Hasher',
  33. 'HTML' => 'Laravel\\Facades\\HTML',
  34. 'Inflector' => 'Laravel\\Inflector',
  35. 'Input' => 'Laravel\\Facades\\Input',
  36. 'IoC' => 'Laravel\\IoC',
  37. 'Lang' => 'Laravel\\Facades\\Lang',
  38. 'Loader' => 'Laravel\\Facades\\Loader',
  39. 'Package' => 'Laravel\\Facades\\Package',
  40. 'URL' => 'Laravel\\Facades\\URL',
  41. 'Redirect' => 'Laravel\\Facades\\Redirect',
  42. 'Request' => 'Laravel\\Facades\\Request',
  43. 'Response' => 'Laravel\\Facades\\Response',
  44. 'Session' => 'Laravel\\Facades\\Session',
  45. 'Str' => 'Laravel\\Str',
  46. 'Validator' => 'Laravel\\Facades\\Validator',
  47. 'View' => 'Laravel\\Facades\\View',
  48. );