this is wrong. The ``@id`` syntax is specific to the YamlFileLoader. In PHP, you are manipulating the definition directly, so you have to pass a Reference object, not a string starting with ``@``