A brick will be registered on the system and is represented by a brick ID which has to be unique throughout the system. If a brick ID is registered twice (e.g. by multiple bundles), an error will be raised.
If you need more control over the brick instance (e.g. because your brick has dependencies on other services, or you want to specify the brick ID manually), you can add the service definition yourself and tag
The Symfony Yaml component parses YAML strings to convert them to PHP arrays. It is also able to convert PHP arrays to YAML strings.