oont-contents/plugins/mailpoet/vendor-prefixed/symfony/dependency-injection/Argument/ServiceLocatorArgument.php
2025-02-08 15:10:23 +01:00

22 lines
625 B
PHP

<?php
namespace MailPoetVendor\Symfony\Component\DependencyInjection\Argument;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Symfony\Component\DependencyInjection\Reference;
class ServiceLocatorArgument implements ArgumentInterface
{
use ReferenceSetArgumentTrait;
private $taggedIteratorArgument;
public function __construct($values = [])
{
if ($values instanceof TaggedIteratorArgument) {
$this->taggedIteratorArgument = $values;
$this->values = [];
} else {
$this->setValues($values);
}
}
public function getTaggedIteratorArgument() : ?TaggedIteratorArgument
{
return $this->taggedIteratorArgument;
}
}