class Variable

Represents a variable.

$var = new Variable('a');

will be dumped as

$a

by the PHP dumper.

@author Johannes M. Schmitt <schmittjoh@gmail.com>

Hierarchy

  • class \Symfony\Component\DependencyInjection\Variable

Expanded class hierarchy of Variable

1 file declares its use of Variable

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Variable.php, line 27

Namespace

Symfony\Component\DependencyInjection
View source

Members

Namesort descending Modifiers Type Description Overrides
Variable::$name private property
Variable::__construct public function Constructor
Variable::__toString public function Converts the object to a string