Debian Codegraph @

vendor/symfony/yaml/Tag/TaggedValue.php

raw
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
12 namespace Symfony\Component\Yaml\Tag;
13
14 /**
15 * @author Nicolas Grekas <[email protected]>
16 * @author Guilhem N. <[email protected]>
17 */
18 final class TaggedValue
19 {
20 public function __construct(
21 private string $tag,
22 private mixed $value,
23 ) {
24 }
25
26 public function getTag(): string
27 {
28 return $this->tag;
29 }
30
31 public function getValue(): mixed
32 {
33 return $this->value;
34 }
35 }