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 private $tag;
21 private $value;
22
23 public function __construct(string $tag, $value)
24 {
25 $this->tag = $tag;
26 $this->value = $value;
27 }
28
29 public function getTag(): string
30 {
31 return $this->tag;
32 }
33
34 public function getValue()
35 {
36 return $this->value;
37 }
38 }