"Fossies" - the Fresh Open Source Software Archive

Member "framework-8.64.0/src/Illuminate/Support/Facades/App.php" (12 Oct 2021, 2673 Bytes) of package /linux/www/laravel-framework-8.64.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "App.php" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 8.63.0_vs_8.64.0.

    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 isLocal()
   15  * @method static bool isProduction()
   16  * @method static bool routesAreCached()
   17  * @method static bool runningInConsole()
   18  * @method static bool runningUnitTests()
   19  * @method static bool shouldSkipMiddleware()
   20  * @method static string basePath(string $path = '')
   21  * @method static string bootstrapPath(string $path = '')
   22  * @method static string configPath(string $path = '')
   23  * @method static string databasePath(string $path = '')
   24  * @method static string detectEnvironment(callable $callback)
   25  * @method static string environmentFile()
   26  * @method static string environmentFilePath()
   27  * @method static string environmentPath()
   28  * @method static string getCachedConfigPath()
   29  * @method static string getCachedPackagesPath()
   30  * @method static string getCachedRoutesPath()
   31  * @method static string getCachedServicesPath()
   32  * @method static string getLocale()
   33  * @method static string currentLocale()
   34  * @method static string getNamespace()
   35  * @method static string resourcePath(string $path = '')
   36  * @method static string storagePath(string $path = '')
   37  * @method static string version()
   38  * @method static string|bool environment(string|array ...$environments)
   39  * @method static never abort(int $code, string $message = '', array $headers = [])
   40  * @method static void boot()
   41  * @method static void booted(callable $callback)
   42  * @method static void booting(callable $callback)
   43  * @method static void bootstrapWith(array $bootstrappers)
   44  * @method static void loadDeferredProviders()
   45  * @method static void registerConfiguredProviders()
   46  * @method static void registerDeferredProvider(string $provider, string $service = null)
   47  * @method static void setLocale(string $locale)
   48  * @method static void terminate()
   49  *
   50  * @see \Illuminate\Contracts\Foundation\Application
   51  */
   52 class App extends Facade
   53 {
   54     /**
   55      * Get the registered name of the component.
   56      *
   57      * @return string
   58      */
   59     protected static function getFacadeAccessor()
   60     {
   61         return 'app';
   62     }
   63 }