Then I would suggest to create a collection object. So you can do:

````php
$seoMetadata->getArbitraryProperties()->add('og:title', 'foo');
````

Also note http://symfony.com/doc/current/contributing/code/conventions.html#method-names