Variable (Component\DependencyInjection)

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

public __construct(string $name)

Constructor.

Parameters

string $name

public string __toString()

Converts the object to a string.

Return Value

string

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/DependencyInjection/Variable.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部