symfony/symfony — pull request #9963 by stloyd (2014-01-07 12:53:04+00:00)
Title: [HttpFoundation] JsonResponse::setEncodingOptions accepts also integer

| Q | A
| ------------- | ---
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Tests pass? | yes
| License | MIT

Now you can also set encoding options like:
```php
$response->setEncodingOptions(JSON_UNESCAPED_UNICODE | $response->getEncodingOptions());