Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/http-kernel/CacheClearer/Psr6CacheClearer.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 |
---|---|
16 /** | 16 /** |
17 * @author Nicolas Grekas <p@tchwork.com> | 17 * @author Nicolas Grekas <p@tchwork.com> |
18 */ | 18 */ |
19 class Psr6CacheClearer implements CacheClearerInterface | 19 class Psr6CacheClearer implements CacheClearerInterface |
20 { | 20 { |
21 private $pools = array(); | 21 private $pools = []; |
22 | 22 |
23 public function __construct(array $pools = array()) | 23 public function __construct(array $pools = []) |
24 { | 24 { |
25 $this->pools = $pools; | 25 $this->pools = $pools; |
26 } | 26 } |
27 | 27 |
28 public function addPool(CacheItemPoolInterface $pool) | 28 public function addPool(CacheItemPoolInterface $pool) |