PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.0
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.0
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
wordpress-seo / vendor_prefixed / symfony / dependency-injection / Argument / ServiceLocatorArgument.php

ServiceLocatorArgument.php in Yoast SEO – Advanced SEO with real-time guidance and built-in AI 28.0, at vendor_prefixed/symfony/dependency-injection/Argument/ServiceLocatorArgument.php

40 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <[email protected]>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11 namespace YoastSEO_Vendor\Symfony\Component\DependencyInjection\Argument;
12
13 use YoastSEO_Vendor\Symfony\Component\DependencyInjection\Reference;
14 /**
15 * Represents a closure acting as a service locator.
16 *
17 * @author Nicolas Grekas <[email protected]>
18 */
19 class ServiceLocatorArgument implements \YoastSEO_Vendor\Symfony\Component\DependencyInjection\Argument\ArgumentInterface
20 {
21 use ReferenceSetArgumentTrait;
22 private $taggedIteratorArgument;
23 /**
24 * @param Reference[]|TaggedIteratorArgument $values
25 */
26 public function __construct($values = [])
27 {
28 if ($values instanceof \YoastSEO_Vendor\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) {
29 $this->taggedIteratorArgument = $values;
30 $this->values = [];
31 } else {
32 $this->setValues($values);
33 }
34 }
35 public function getTaggedIteratorArgument() : ?\YoastSEO_Vendor\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument
36 {
37 return $this->taggedIteratorArgument;
38 }
39 }
40