Debian Codegraph @

lib/3rdParty/composer/illuminate/support/Facades/App.php

raw symbols SCIP
1 <?php
2
3 namespace Illuminate\Support\Facades;
4
5 /**
6 * @method static \Illuminate\Foundation\Configuration\ApplicationBuilder configure(string|null $basePath = null)
7 * @method static string inferBasePath()
8 * @method static string version()
9 * @method static void bootstrapWith(string[] $bootstrappers)
10 * @method static void afterLoadingEnvironment(\Closure $callback)
11 * @method static void beforeBootstrapping(string $bootstrapper, \Closure $callback)
12 * @method static void afterBootstrapping(string $bootstrapper, \Closure $callback)
13 * @method static bool hasBeenBootstrapped()
14 * @method static \Illuminate\Foundation\Application setBasePath(string $basePath)
15 * @method static string path(string $path = '')
16 * @method static \Illuminate\Foundation\Application useAppPath(string $path)
17 * @method static string basePath(string $path = '')
18 * @method static string bootstrapPath(string $path = '')
19 * @method static string getBootstrapProvidersPath()
20 * @method static \Illuminate\Foundation\Application useBootstrapPath(string $path)
21 * @method static string configPath(string $path = '')
22 * @method static \Illuminate\Foundation\Application useConfigPath(string $path)
23 * @method static string databasePath(string $path = '')
24 * @method static \Illuminate\Foundation\Application useDatabasePath(string $path)
25 * @method static string langPath(string $path = '')
26 * @method static \Illuminate\Foundation\Application useLangPath(string $path)
27 * @method static string publicPath(string $path = '')
28 * @method static \Illuminate\Foundation\Application usePublicPath(string $path)
29 * @method static string storagePath(string $path = '')
30 * @method static \Illuminate\Foundation\Application useStoragePath(string $path)
31 * @method static string resourcePath(string $path = '')
32 * @method static string viewPath(string $path = '')
33 * @method static string joinPaths(string $basePath, string $path = '')
34 * @method static string environmentPath()
35 * @method static \Illuminate\Foundation\Application useEnvironmentPath(string $path)
36 * @method static \Illuminate\Foundation\Application loadEnvironmentFrom(string $file)
37 * @method static string environmentFile()
38 * @method static string environmentFilePath()
39 * @method static string|bool environment(string|array ...$environments)
40 * @method static bool isLocal()
41 * @method static bool isProduction()
42 * @method static string detectEnvironment(\Closure $callback)
43 * @method static bool runningInConsole()
44 * @method static bool runningConsoleCommand(string|array ...$commands)
45 * @method static bool runningUnitTests()
46 * @method static bool hasDebugModeEnabled()
47 * @method static void registered(callable $callback)
48 * @method static void registerConfiguredProviders()
49 * @method static \Illuminate\Support\ServiceProvider register(\Illuminate\Support\ServiceProvider|string $provider, bool $force = false)
50 * @method static \Illuminate\Support\ServiceProvider|null getProvider(\Illuminate\Support\ServiceProvider|string $provider)
51 * @method static array getProviders(\Illuminate\Support\ServiceProvider|string $provider)
52 * @method static \Illuminate\Support\ServiceProvider resolveProvider(string $provider)
53 * @method static void loadDeferredProviders()
54 * @method static void loadDeferredProvider(string $service)
55 * @method static void registerDeferredProvider(string $provider, string|null $service = null)
56 * @method static object|mixed make(string $abstract, array $parameters = [])
57 * @method static bool bound(string $abstract)
58 * @method static bool isBooted()
59 * @method static void boot()
60 * @method static void booting(callable $callback)
61 * @method static void booted(callable $callback)
62 * @method static \Symfony\Component\HttpFoundation\Response handle(\Symfony\Component\HttpFoundation\Request $request, int $type = 1, bool $catch = true)
63 * @method static void handleRequest(\Illuminate\Http\Request $request)
64 * @method static int handleCommand(\Symfony\Component\Console\Input\InputInterface $input)
65 * @method static bool shouldMergeFrameworkConfiguration()
66 * @method static \Illuminate\Foundation\Application dontMergeFrameworkConfiguration()
67 * @method static bool shouldSkipMiddleware()
68 * @method static string getCachedServicesPath()
69 * @method static string getCachedPackagesPath()
70 * @method static bool configurationIsCached()
71 * @method static string getCachedConfigPath()
72 * @method static bool routesAreCached()
73 * @method static string getCachedRoutesPath()
74 * @method static bool eventsAreCached()
75 * @method static string getCachedEventsPath()
76 * @method static \Illuminate\Foundation\Application addAbsoluteCachePathPrefix(string $prefix)
77 * @method static \Illuminate\Contracts\Foundation\MaintenanceMode maintenanceMode()
78 * @method static bool isDownForMaintenance()
79 * @method static never abort(int $code, string $message = '', array $headers = [])
80 * @method static \Illuminate\Foundation\Application terminating(callable|string $callback)
81 * @method static void terminate()
82 * @method static array getLoadedProviders()
83 * @method static bool providerIsLoaded(string $provider)
84 * @method static array getDeferredServices()
85 * @method static void setDeferredServices(array $services)
86 * @method static bool isDeferredService(string $service)
87 * @method static void addDeferredServices(array $services)
88 * @method static void removeDeferredServices(array $services)
89 * @method static void provideFacades(string $namespace)
90 * @method static string getLocale()
91 * @method static string currentLocale()
92 * @method static string getFallbackLocale()
93 * @method static void setLocale(string $locale)
94 * @method static void setFallbackLocale(string $fallbackLocale)
95 * @method static bool isLocale(string $locale)
96 * @method static void registerCoreContainerAliases()
97 * @method static void flush()
98 * @method static string getNamespace()
99 * @method static \Illuminate\Contracts\Container\ContextualBindingBuilder when(array|string $concrete)
100 * @method static void whenHasAttribute(string $attribute, \Closure $handler)
101 * @method static bool has(string $id)
102 * @method static bool isShared(string $abstract)
103 * @method static bool isAlias(string $name)
104 * @method static void bind(\Closure|string $abstract, \Closure|string|null $concrete = null, bool $shared = false)
105 * @method static bool hasMethodBinding(string $method)
106 * @method static void bindMethod(array|string $method, \Closure $callback)
107 * @method static mixed callMethodBinding(string $method, mixed $instance)
108 * @method static void addContextualBinding(string $concrete, \Closure|string $abstract, \Closure|string $implementation)
109 * @method static void bindIf(\Closure|string $abstract, \Closure|string|null $concrete = null, bool $shared = false)
110 * @method static void singleton(\Closure|string $abstract, \Closure|string|null $concrete = null)
111 * @method static void singletonIf(\Closure|string $abstract, \Closure|string|null $concrete = null)
112 * @method static void scoped(\Closure|string $abstract, \Closure|string|null $concrete = null)
113 * @method static void scopedIf(\Closure|string $abstract, \Closure|string|null $concrete = null)
114 * @method static void extend(string $abstract, \Closure $closure)
115 * @method static mixed instance(string $abstract, mixed $instance)
116 * @method static void tag(array|string $abstracts, mixed $tags)
117 * @method static iterable tagged(string $tag)
118 * @method static void alias(string $abstract, string $alias)
119 * @method static mixed rebinding(string $abstract, \Closure $callback)
120 * @method static mixed refresh(string $abstract, mixed $target, string $method)
121 * @method static \Closure wrap(\Closure $callback, array $parameters = [])
122 * @method static mixed call(callable|string $callback, array $parameters = [], string|null $defaultMethod = null)
123 * @method static \Closure|\Closure factory(string $abstract)
124 * @method static object|mixed makeWith(string|callable $abstract, array $parameters = [])
125 * @method static object|mixed get(string $id)
126 * @method static object build(\Closure|string $concrete)
127 * @method static mixed resolveFromAttribute(\ReflectionAttribute $attribute)
128 * @method static void beforeResolving(\Closure|string $abstract, \Closure|null $callback = null)
129 * @method static void resolving(\Closure|string $abstract, \Closure|null $callback = null)
130 * @method static void afterResolving(\Closure|string $abstract, \Closure|null $callback = null)
131 * @method static void afterResolvingAttribute(string $attribute, \Closure $callback)
132 * @method static void fireAfterResolvingAttributeCallbacks(\ReflectionAttribute[] $attributes, mixed $object)
133 * @method static string|null currentlyResolving()
134 * @method static array getBindings()
135 * @method static string getAlias(string $abstract)
136 * @method static void forgetExtenders(string $abstract)
137 * @method static void forgetInstance(string $abstract)
138 * @method static void forgetInstances()
139 * @method static void forgetScopedInstances()
140 * @method static void resolveEnvironmentUsing(callable|string|null $callback)
141 * @method static bool currentEnvironmentIs(array|string $environments)
142 * @method static \Illuminate\Foundation\Application getInstance()
143 * @method static \Illuminate\Contracts\Container\Container|\Illuminate\Foundation\Application setInstance(\Illuminate\Contracts\Container\Container|null $container = null)
144 * @method static void macro(string $name, object|callable $macro)
145 * @method static void mixin(object $mixin, bool $replace = true)
146 * @method static bool hasMacro(string $name)
147 * @method static void flushMacros()
148 *
149 * @see \Illuminate\Foundation\Application
150 */
151 class App extends Facade
152 {
153 /**
154 * Get the registered name of the component.
155 *
156 * @return string
157 */
158 protected static function getFacadeAccessor()
159 {
160 return 'app';
161 }
162 }