Symfony2 API
Class

Symfony\Component\DependencyInjection\Variable

class Variable

Represents a variable.

$var = new Variable('a');

will be dumped as

$a

by the PHP dumper.

Methods

__construct(string $name)

Constructor

string __toString()

Converts the object to a string

Details

at line 36
public __construct(string $name)

Constructor

Parameters

string $name

at line 46
public string __toString()

Converts the object to a string

Return Value

string