You are here

public function DumperCollection::setAttribute in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Matcher/Dumper/DumperCollection.php \Symfony\Component\Routing\Matcher\Dumper\DumperCollection::setAttribute()

Sets an attribute by name.

Parameters

string $name The attribute name:

mixed $value The attribute value:

File

vendor/symfony/routing/Matcher/Dumper/DumperCollection.php, line 147

Class

DumperCollection
Collection of routes.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

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