composer package updates
[openemr.git] / vendor / illuminate / contracts / Foundation / Application.php
bloba7d643b15acea0b1e41cc99825e89660e666fee4
1 <?php
3 namespace Illuminate\Contracts\Foundation;
5 use Illuminate\Contracts\Container\Container;
7 interface Application extends Container
9 /**
10 * Get the version number of the application.
12 * @return string
14 public function version();
16 /**
17 * Get the base path of the Laravel installation.
19 * @return string
21 public function basePath();
23 /**
24 * Get or check the current application environment.
26 * @return string
28 public function environment();
30 /**
31 * Determine if we are running in the console.
33 * @return bool
35 public function runningInConsole();
37 /**
38 * Determine if the application is currently down for maintenance.
40 * @return bool
42 public function isDownForMaintenance();
44 /**
45 * Register all of the configured providers.
47 * @return void
49 public function registerConfiguredProviders();
51 /**
52 * Register a service provider with the application.
54 * @param \Illuminate\Support\ServiceProvider|string $provider
55 * @param array $options
56 * @param bool $force
57 * @return \Illuminate\Support\ServiceProvider
59 public function register($provider, $options = [], $force = false);
61 /**
62 * Register a deferred provider and service.
64 * @param string $provider
65 * @param string|null $service
66 * @return void
68 public function registerDeferredProvider($provider, $service = null);
70 /**
71 * Boot the application's service providers.
73 * @return void
75 public function boot();
77 /**
78 * Register a new boot listener.
80 * @param mixed $callback
81 * @return void
83 public function booting($callback);
85 /**
86 * Register a new "booted" listener.
88 * @param mixed $callback
89 * @return void
91 public function booted($callback);
93 /**
94 * Get the path to the cached services.php file.
96 * @return string
98 public function getCachedServicesPath();
101 * Get the path to the cached packages.php file.
103 * @return string
105 public function getCachedPackagesPath();