[Translation] added method to expose collected message

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | no
| Fixed tickets | #2435 
| License       | MIT
| Doc PR        | symfony/symfony-docs#3386
I don't see any difference between passing `array()` and `null` for domains. Then I would just use `array $domains = array()` without null.