symfony/symfony-docs — pull request #3893 by adamelso (2014-05-30 10:30:51+00:00)
Title: Correct setting of _controller attribute

One of the code snippets uses `$request->attributes->add('_controller', '...'); `

This is invalid since this expects an array of multiple attributes.

I've corrected the example to use the set method.

```php
$request->attributes->set('_controller', '...');
```