5935bfa67d33977a1d03bf751ba000c9a6e10dcb
[yaffs-website] / vendor / drush / drush / internal-copy / Config / Yaml / Tag / TaggedValue.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
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 Drush\Internal\Config\Yaml\Tag;
13
14 /**
15  * @author Nicolas Grekas <p@tchwork.com>
16  * @author Guilhem N. <egetick@gmail.com>
17  */
18 final class TaggedValue
19 {
20     private $tag;
21     private $value;
22
23     /**
24      * @param string $tag
25      * @param mixed  $value
26      */
27     public function __construct($tag, $value)
28     {
29         $this->tag = $tag;
30         $this->value = $value;
31     }
32
33     /**
34      * @return string
35      */
36     public function getTag()
37     {
38         return $this->tag;
39     }
40
41     /**
42      * @return mixed
43      */
44     public function getValue()
45     {
46         return $this->value;
47     }
48 }