Skip to content

Commit 6353a58

Browse files
committed
Ignore ParamConverter for route generation
Allows to remove route declaration when specifying ParamConverter #153
1 parent a81b4ba commit 6353a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Routing/Loader/Reader/RestActionReader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ private function getMethodArguments(\ReflectionMethod $method)
334334
'Symfony\Component\HttpFoundation\Request',
335335
'FOS\RestBundle\Request\ParamFetcherInterface',
336336
'Symfony\Component\Validator\ConstraintViolationListInterface',
337+
'Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter'
337338
);
338339

339340
$arguments = array();

0 commit comments

Comments
 (0)