File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -271,10 +271,10 @@ private function buildUriVariables(\SimpleXMLElement $resource): ?array
271
271
if ($ toProperty = $ this ->phpize ($ data , 'toProperty ' , 'string ' )) {
272
272
$ uriVariables [$ parameterName ]['to_property ' ] = $ toProperty ;
273
273
}
274
- if ($ fromClass = $ this ->phpize ($ data , 'fromClass ' , 'string ' )) {
274
+ if ($ fromClass = $ this ->resolve ( $ this -> phpize ($ data , 'fromClass ' , 'string ' ) )) {
275
275
$ uriVariables [$ parameterName ]['from_class ' ] = $ fromClass ;
276
276
}
277
- if ($ toClass = $ this ->phpize ($ data , 'toClass ' , 'string ' )) {
277
+ if ($ toClass = $ this ->resolve ( $ this -> phpize ($ data , 'toClass ' , 'string ' ) )) {
278
278
$ uriVariables [$ parameterName ]['to_class ' ] = $ toClass ;
279
279
}
280
280
if (isset ($ data ->identifiers ->values )) {
Original file line number Diff line number Diff line change @@ -193,13 +193,13 @@ private function buildUriVariables(array $resource): ?array
193
193
unset($ data [0 ], $ data [1 ]);
194
194
}
195
195
if (isset ($ data ['fromClass ' ])) {
196
- $ uriVariables [$ parameterName ]['from_class ' ] = $ data ['fromClass ' ];
196
+ $ uriVariables [$ parameterName ]['from_class ' ] = $ this -> resolve ( $ data ['fromClass ' ]) ;
197
197
}
198
198
if (isset ($ data ['fromProperty ' ])) {
199
199
$ uriVariables [$ parameterName ]['from_property ' ] = $ data ['fromProperty ' ];
200
200
}
201
201
if (isset ($ data ['toClass ' ])) {
202
- $ uriVariables [$ parameterName ]['to_class ' ] = $ data ['toClass ' ];
202
+ $ uriVariables [$ parameterName ]['to_class ' ] = $ this -> resolve ( $ data ['toClass ' ]) ;
203
203
}
204
204
if (isset ($ data ['toProperty ' ])) {
205
205
$ uriVariables [$ parameterName ]['to_property ' ] = $ data ['toProperty ' ];
You can’t perform that action at this time.
0 commit comments