如何将此文件转换为 XML?
services:
IHQS.nuitblanche.admin.news:
class: IHQS\NuitBlancheBundle\Admin\NewsAdmin
tags:
- { name: sonata.admin, manager_type: orm, group: nuitblanche, label: News }
arguments: [null, IHQS\NuitBlancheBundle\Entity\News, IHQSNuitBlancheBundle:NewsAdmin]
特别是对于标签部分
是 :
<service id="nb.admin.news" class="IHQS\NuitBlancheBundle\Admin\NewsAdmin">
<tag name="sonata.admin" manager_type="orm" group="NuitBlanche" label="News" />
<argument />
<argument>IHQS\NuitBlancheBundle\Entity\News</argument>
<argument>IHQSNuitBlancheBundle:Admin</argument>
</service>
对还是?