aliases.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. 'Asset' => 'Laravel\\Asset',
  19. 'Auth' => 'Laravel\\Security\\Authenticator',
  20. 'Benchmark' => 'Laravel\\Benchmark',
  21. 'Cache' => 'Laravel\\Cache\\Manager',
  22. 'Config' => 'Laravel\\Config_Facade',
  23. 'Cookie' => 'Laravel\\Cookie_Facade',
  24. 'Crypter' => 'Laravel\\Security\\Crypter',
  25. 'DB' => 'Laravel\\Database\\Manager',
  26. 'Download' => 'Laravel\\Download_Facade',
  27. 'Eloquent' => 'Laravel\\Database\\Eloquent\\Model',
  28. 'Error' => 'Laravel\\Error',
  29. 'File' => 'Laravel\\File_Facade',
  30. 'Form' => 'Laravel\\Form_Facade',
  31. 'Hasher' => 'Laravel\\Security\\Hasher',
  32. 'HTML' => 'Laravel\\HTML_Facade',
  33. 'Inflector' => 'Laravel\\Inflector',
  34. 'Input' => 'Laravel\\Input_Facade',
  35. 'IoC' => 'Laravel\\IoC',
  36. 'Lang' => 'Laravel\\Lang_Facade',
  37. 'Loader' => 'Laravel\\Loader_Facade',
  38. 'Package' => 'Laravel\\Package_Facade',
  39. 'URL' => 'Laravel\\URL_Facade',
  40. 'Redirect' => 'Laravel\\Redirect_Facade',
  41. 'Request' => 'Laravel\\Request_Facade',
  42. 'Response' => 'Laravel\\Response_Facade',
  43. 'Session' => 'Laravel\\Session\\Manager',
  44. 'Str' => 'Laravel\\Str',
  45. 'Validator' => 'Laravel\\Validation\\Validator',
  46. 'View' => 'Laravel\\View_Facade',
  47. );