1 | <?php |
||
14 | class Container extends BaseContainer implements LaravelApplication |
||
15 | { |
||
16 | /** |
||
17 | * A custom callback used to configure Monolog. |
||
18 | * |
||
19 | * @var callable|null |
||
20 | */ |
||
21 | protected $monologConfigurator; |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function version() |
||
30 | |||
31 | /** |
||
32 | * Get the base path of the Laravel installation. |
||
33 | * |
||
34 | * @param string $path |
||
35 | * |
||
36 | * @return string |
||
37 | */ |
||
38 | public function basePath($path = '') |
||
42 | |||
43 | /** |
||
44 | * Get the path to the application configuration files. |
||
45 | * |
||
46 | * @param string $path |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | public function configPath($path = '') |
||
54 | |||
55 | /** |
||
56 | * Get the path to the database directory. |
||
57 | * |
||
58 | * @param string $path |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | public function databasePath($path = '') |
||
66 | |||
67 | /** |
||
68 | * Get the path to the language files. |
||
69 | * |
||
70 | * @return string |
||
71 | */ |
||
72 | public function langPath() |
||
76 | |||
77 | /** |
||
78 | * Get the path to the resources directory. |
||
79 | * |
||
80 | * @param string $path |
||
81 | * |
||
82 | * @return string |
||
83 | */ |
||
84 | public function resourcePath($path = '') |
||
88 | |||
89 | /** |
||
90 | * Get the path to the storage directory. |
||
91 | * |
||
92 | * @return string |
||
93 | */ |
||
94 | public function storagePath() |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function environment() |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function runningInConsole() |
||
114 | |||
115 | /** |
||
116 | * {@inheritdoc} |
||
117 | */ |
||
118 | public function getNamespace() |
||
122 | |||
123 | /** |
||
124 | * {@inheritdoc} |
||
125 | */ |
||
126 | public function isDownForMaintenance() |
||
130 | |||
131 | /** |
||
132 | * {@inheritdoc} |
||
133 | */ |
||
134 | public function registerConfiguredProviders() |
||
138 | |||
139 | /** |
||
140 | * {@inheritdoc} |
||
141 | */ |
||
142 | public function register($provider, $options = [], $force = false) |
||
146 | |||
147 | /** |
||
148 | * {@inheritdoc} |
||
149 | */ |
||
150 | public function registerDeferredProvider($provider, $service = null) |
||
154 | |||
155 | /** |
||
156 | * {@inheritdoc} |
||
157 | */ |
||
158 | public function boot() |
||
162 | |||
163 | /** |
||
164 | * {@inheritdoc} |
||
165 | */ |
||
166 | public function booting($callback) |
||
170 | |||
171 | /** |
||
172 | * {@inheritdoc} |
||
173 | */ |
||
174 | public function booted($callback) |
||
178 | |||
179 | /** |
||
180 | * {@inheritdoc} |
||
181 | */ |
||
182 | public function getCachedServicesPath() |
||
186 | |||
187 | /** |
||
188 | * {@inheritdoc} |
||
189 | */ |
||
190 | public function getCachedPackagesPath() |
||
194 | |||
195 | /** |
||
196 | * Define a callback to be used to configure Monolog. |
||
197 | * |
||
198 | * @param callable $callback |
||
199 | * |
||
200 | * @return $this |
||
201 | */ |
||
202 | public function configureMonologUsing(callable $callback) |
||
208 | |||
209 | /** |
||
210 | * Determine if the application has a custom Monolog configurator. |
||
211 | * |
||
212 | * @return bool |
||
213 | */ |
||
214 | public function hasMonologConfigurator() |
||
218 | |||
219 | /** |
||
220 | * Get the custom Monolog configurator for the application. |
||
221 | * |
||
222 | * @return callable |
||
223 | */ |
||
224 | public function getMonologConfigurator() |
||
228 | } |
||
229 |