composer package updates
[openemr.git] / vendor / symfony / dependency-injection / Variable.php
blob9654ee4ddc6d8a60d03120883538be03698d421e
1 <?php
3 /*
4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\DependencyInjection;
14 /**
15 * Represents a variable.
17 * $var = new Variable('a');
19 * will be dumped as
21 * $a
23 * by the PHP dumper.
25 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
27 class Variable
29 private $name;
31 /**
32 * @param string $name
34 public function __construct($name)
36 $this->name = $name;
39 public function __toString()
41 return $this->name;