This repository was archived by the owner on Sep 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Tests/Unit/DependencyInjection/fixtures Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,10 @@ public function getConfigTreeBuilder()
25
25
{
26
26
$ treeBuilder = new TreeBuilder ();
27
27
$ treeBuilder ->root ('cmf_resource_rest ' )
28
+ ->fixXmlConfig ('payload_alias ' , 'payload_alias_map ' )
28
29
->children ()
29
30
->arrayNode ('payload_alias_map ' )
30
- ->useAttributeAsKey ('alias ' )
31
+ ->useAttributeAsKey ('name ' )
31
32
->prototype ('array ' )
32
33
->children ()
33
34
->scalarNode ('repository ' )->end ()
Original file line number Diff line number Diff line change 4
4
xsi : schemaLocation =" http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
5
5
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
6
6
<cmf_resource_rest : config >
7
- <cmf_resource_rest : payload-alias-map >
8
- <cmf_resource_rest : article alias =" article" type =" Namespace\Article" repository =" doctrine_phpcr_odm" />
9
- </cmf_resource_rest : payload-alias-map >
7
+ <cmf_resource_rest : payload_alias name =" article" type =" Namespace\Article" repository =" doctrine_phpcr_odm" />
10
8
</cmf_resource_rest : config >
11
9
</container >
You can’t perform that action at this time.
0 commit comments