Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-kernel/KernelInterface.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
25 interface KernelInterface extends HttpKernelInterface, \Serializable | 25 interface KernelInterface extends HttpKernelInterface, \Serializable |
26 { | 26 { |
27 /** | 27 /** |
28 * Returns an array of bundles to register. | 28 * Returns an array of bundles to register. |
29 * | 29 * |
30 * @return BundleInterface[] An array of bundle instances | 30 * @return iterable|BundleInterface[] An iterable of bundle instances |
31 */ | 31 */ |
32 public function registerBundles(); | 32 public function registerBundles(); |
33 | 33 |
34 /** | 34 /** |
35 * Loads the container configuration. | 35 * Loads the container configuration. |
36 * | |
37 * @param LoaderInterface $loader A LoaderInterface instance | |
38 */ | 36 */ |
39 public function registerContainerConfiguration(LoaderInterface $loader); | 37 public function registerContainerConfiguration(LoaderInterface $loader); |
40 | 38 |
41 /** | 39 /** |
42 * Boots the current kernel. | 40 * Boots the current kernel. |
57 */ | 55 */ |
58 public function getBundles(); | 56 public function getBundles(); |
59 | 57 |
60 /** | 58 /** |
61 * Returns a bundle and optionally its descendants by its name. | 59 * Returns a bundle and optionally its descendants by its name. |
60 * | |
61 * The second argument is deprecated as of 3.4 and will be removed in 4.0. This method | |
62 * will always return an instance of BundleInterface in 4.0. | |
62 * | 63 * |
63 * @param string $name Bundle name | 64 * @param string $name Bundle name |
64 * @param bool $first Whether to return the first bundle only or together with its descendants | 65 * @param bool $first Whether to return the first bundle only or together with its descendants |
65 * | 66 * |
66 * @return BundleInterface|BundleInterface[] A BundleInterface instance or an array of BundleInterface instances if $first is false | 67 * @return BundleInterface|BundleInterface[] A BundleInterface instance or an array of BundleInterface instances if $first is false |
119 * @return bool true if debug mode is enabled, false otherwise | 120 * @return bool true if debug mode is enabled, false otherwise |
120 */ | 121 */ |
121 public function isDebug(); | 122 public function isDebug(); |
122 | 123 |
123 /** | 124 /** |
124 * Gets the application root dir. | 125 * Gets the application root dir (path of the project's Kernel class). |
125 * | 126 * |
126 * @return string The application root dir | 127 * @return string The Kernel root dir |
127 */ | 128 */ |
128 public function getRootDir(); | 129 public function getRootDir(); |
129 | 130 |
130 /** | 131 /** |
131 * Gets the current container. | 132 * Gets the current container. |