aliases.php 1.8 KB

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