Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-kernel/Config/FileLocator.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 1fec387a4317 |
children |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
24 private $kernel; | 24 private $kernel; |
25 private $path; | 25 private $path; |
26 | 26 |
27 /** | 27 /** |
28 * @param KernelInterface $kernel A KernelInterface instance | 28 * @param KernelInterface $kernel A KernelInterface instance |
29 * @param null|string $path The path the global resource directory | 29 * @param string|null $path The path the global resource directory |
30 * @param array $paths An array of paths where to look for resources | 30 * @param array $paths An array of paths where to look for resources |
31 */ | 31 */ |
32 public function __construct(KernelInterface $kernel, $path = null, array $paths = array()) | 32 public function __construct(KernelInterface $kernel, $path = null, array $paths = []) |
33 { | 33 { |
34 $this->kernel = $kernel; | 34 $this->kernel = $kernel; |
35 if (null !== $path) { | 35 if (null !== $path) { |
36 $this->path = $path; | 36 $this->path = $path; |
37 $paths[] = $path; | 37 $paths[] = $path; |