Mercurial > hg > isophonics-drupal-site
diff 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 |
line wrap: on
line diff
--- a/vendor/symfony/http-kernel/KernelInterface.php Mon Apr 23 09:33:26 2018 +0100 +++ b/vendor/symfony/http-kernel/KernelInterface.php Mon Apr 23 09:46:53 2018 +0100 @@ -27,14 +27,12 @@ /** * Returns an array of bundles to register. * - * @return BundleInterface[] An array of bundle instances + * @return iterable|BundleInterface[] An iterable of bundle instances */ public function registerBundles(); /** * Loads the container configuration. - * - * @param LoaderInterface $loader A LoaderInterface instance */ public function registerContainerConfiguration(LoaderInterface $loader); @@ -60,6 +58,9 @@ /** * Returns a bundle and optionally its descendants by its name. * + * The second argument is deprecated as of 3.4 and will be removed in 4.0. This method + * will always return an instance of BundleInterface in 4.0. + * * @param string $name Bundle name * @param bool $first Whether to return the first bundle only or together with its descendants * @@ -121,9 +122,9 @@ public function isDebug(); /** - * Gets the application root dir. + * Gets the application root dir (path of the project's Kernel class). * - * @return string The application root dir + * @return string The Kernel root dir */ public function getRootDir();