Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\DependencyInjection; Chris@0: Chris@0: /** Chris@0: * Represents a variable. Chris@0: * Chris@0: * $var = new Variable('a'); Chris@0: * Chris@0: * will be dumped as Chris@0: * Chris@0: * $a Chris@0: * Chris@0: * by the PHP dumper. Chris@0: * Chris@0: * @author Johannes M. Schmitt Chris@0: */ Chris@0: class Variable Chris@0: { Chris@0: private $name; Chris@0: Chris@0: /** Chris@0: * @param string $name Chris@0: */ Chris@0: public function __construct($name) Chris@0: { Chris@0: $this->name = $name; Chris@0: } Chris@0: Chris@0: public function __toString() Chris@0: { Chris@0: return $this->name; Chris@0: } Chris@0: }