symfony/symfony — pull request #4880 by RobLoach (2012-07-12 17:05:04+00:00)
Title: [HttpKernel] Allow chaining through set methods

The majority of set() calls in Symfony don't return anything. Having it return the current instance (```$this```) allows for chaining set calls together. This pull request allows for set chaining in the HttpKernel component.

```php
$profile->setTime($time)
->setToken($token)
->setParent($parent)
->setUrl('http://example.com');
```