View file vendor/illuminate/support/Facades/App.php

File size: 2.46Kb
  1. <?php
  2.  
  3. namespace Illuminate\Support\Facades;
  4.  
  5. /**
  6. * @method static \Illuminate\Contracts\Foundation\Application loadEnvironmentFrom(string $file)
  7. * @method static \Illuminate\Support\ServiceProvider register(\Illuminate\Support\ServiceProvider|string $provider, bool $force = false)
  8. * @method static \Illuminate\Support\ServiceProvider resolveProvider(string $provider)
  9. * @method static array getProviders(\Illuminate\Support\ServiceProvider|string $provider)
  10. * @method static mixed make($abstract, array $parameters = [])
  11. * @method static bool configurationIsCached()
  12. * @method static bool hasBeenBootstrapped()
  13. * @method static bool isDownForMaintenance()
  14. * @method static bool routesAreCached()
  15. * @method static bool runningInConsole()
  16. * @method static bool runningUnitTests()
  17. * @method static bool shouldSkipMiddleware()
  18. * @method static string basePath(string $path = '')
  19. * @method static string bootstrapPath(string $path = '')
  20. * @method static string configPath(string $path = '')
  21. * @method static string databasePath(string $path = '')
  22. * @method static string detectEnvironment(callable $callback)
  23. * @method static string environmentFile()
  24. * @method static string environmentFilePath()
  25. * @method static string environmentPath()
  26. * @method static string getCachedConfigPath()
  27. * @method static string getCachedPackagesPath()
  28. * @method static string getCachedRoutesPath()
  29. * @method static string getCachedServicesPath()
  30. * @method static string getLocale()
  31. * @method static string currentLocale()
  32. * @method static string getNamespace()
  33. * @method static string resourcePath(string $path = '')
  34. * @method static string storagePath(string $path = '')
  35. * @method static string version()
  36. * @method static string|bool environment(string|array ...$environments)
  37. * @method static void boot()
  38. * @method static void booted(callable $callback)
  39. * @method static void booting(callable $callback)
  40. * @method static void bootstrapWith(array $bootstrappers)
  41. * @method static void loadDeferredProviders()
  42. * @method static void registerConfiguredProviders()
  43. * @method static void registerDeferredProvider(string $provider, string $service = null)
  44. * @method static void setLocale(string $locale)
  45. * @method static void terminate()
  46. *
  47. * @see \Illuminate\Contracts\Foundation\Application
  48. */
  49. class App extends Facade
  50. {
  51. /**
  52. * Get the registered name of the component.
  53. *
  54. * @return string
  55. */
  56. protected static function getFacadeAccessor()
  57. {
  58. return 'app';
  59. }
  60. }