[ Index ]

PHP Cross Reference of phpBB-3.3.11-deutsch

title

Body

[close]

/vendor/symfony/yaml/Tag/ -> TaggedValue.php (source)

   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 Symfony\Component\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  }


Generated: Sat Nov 4 14:26:03 2023 Cross-referenced by PHPXref 0.7.1