public function DumperCollection::setAttribute

Sets an attribute by name.

Parameters

string $name The attribute name:

mixed $value The attribute value:

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/DumperCollection.php, line 145

Class

DumperCollection
Collection of routes.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

public function setAttribute($name, $value) {
  $this->attributes[$name] = $value;
}