AbstractArgument.php
4 years ago
ArgumentInterface.php
4 years ago
BoundArgument.php
2 years ago
IteratorArgument.php
4 years ago
ReferenceSetArgumentTrait.php
4 years ago
RewindableGenerator.php
4 years ago
ServiceClosureArgument.php
4 years ago
ServiceLocator.php
2 years ago
ServiceLocatorArgument.php
4 years ago
TaggedIteratorArgument.php
2 years ago
index.php
3 years ago
ServiceLocatorArgument.php
23 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Symfony\Component\DependencyInjection\Argument; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Symfony\Component\DependencyInjection\Reference; |
| 5 | class ServiceLocatorArgument implements ArgumentInterface |
| 6 | { |
| 7 | use ReferenceSetArgumentTrait; |
| 8 | private $taggedIteratorArgument; |
| 9 | public function __construct($values = []) |
| 10 | { |
| 11 | if ($values instanceof TaggedIteratorArgument) { |
| 12 | $this->taggedIteratorArgument = $values; |
| 13 | $this->values = []; |
| 14 | } else { |
| 15 | $this->setValues($values); |
| 16 | } |
| 17 | } |
| 18 | public function getTaggedIteratorArgument() : ?TaggedIteratorArgument |
| 19 | { |
| 20 | return $this->taggedIteratorArgument; |
| 21 | } |
| 22 | } |
| 23 |