Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/dependency-injection/Compiler/ResolveClassPass.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 |
---|---|
9 * file that was distributed with this source code. | 9 * file that was distributed with this source code. |
10 */ | 10 */ |
11 | 11 |
12 namespace Symfony\Component\DependencyInjection\Compiler; | 12 namespace Symfony\Component\DependencyInjection\Compiler; |
13 | 13 |
14 use Symfony\Component\DependencyInjection\ChildDefinition; | |
14 use Symfony\Component\DependencyInjection\ContainerBuilder; | 15 use Symfony\Component\DependencyInjection\ContainerBuilder; |
15 use Symfony\Component\DependencyInjection\ChildDefinition; | |
16 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; | 16 use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; |
17 | 17 |
18 /** | 18 /** |
19 * @author Nicolas Grekas <p@tchwork.com> | 19 * @author Nicolas Grekas <p@tchwork.com> |
20 */ | 20 */ |
21 class ResolveClassPass implements CompilerPassInterface | 21 class ResolveClassPass implements CompilerPassInterface |
22 { | 22 { |
23 private $changes = array(); | 23 private $changes = []; |
24 | 24 |
25 /** | 25 /** |
26 * {@inheritdoc} | 26 * {@inheritdoc} |
27 */ | 27 */ |
28 public function process(ContainerBuilder $container) | 28 public function process(ContainerBuilder $container) |
47 * @deprecated since 3.3, to be removed in 4.0. | 47 * @deprecated since 3.3, to be removed in 4.0. |
48 */ | 48 */ |
49 public function getChanges() | 49 public function getChanges() |
50 { | 50 { |
51 $changes = $this->changes; | 51 $changes = $this->changes; |
52 $this->changes = array(); | 52 $this->changes = []; |
53 | 53 |
54 return $changes; | 54 return $changes; |
55 } | 55 } |
56 } | 56 } |