You are here

public function Variable::__construct in Service Container 7

Same name in this branch
  1. 7 src/Variable.php \Drupal\service_container\Variable::__construct()
  2. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Variable.php \Symfony\Component\DependencyInjection\Variable::__construct()
Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Variable.php \Symfony\Component\DependencyInjection\Variable::__construct()

Constructor.

Parameters

string $name:

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Variable.php, line 36

Class

Variable
Represents a variable.

Namespace

Symfony\Component\DependencyInjection

Code

public function __construct($name) {
  $this->name = $name;
}