SensioFrameworkExtraBundle icon indicating copy to clipboard operation
SensioFrameworkExtraBundle copied to clipboard

Extending DoctrineParamConverter

Open tikoflano opened this issue 6 years ago • 1 comments

The method getIdentifier() defined in https://github.com/sensiolabs/SensioFrameworkExtraBundle/blob/1032c7077fd1a6f24f98b5a8377938000859f35d/Request/ParamConverter/DoctrineParamConverter.php#L150

used to be protected so you could do things like using the hashid to get the Entity, like in here:

https://github.com/neoshadybeat/hashidsBundle/blob/master/Request/ParamConverter/HashidsDoctrineParamConverter.php

Why did you change it?

tikoflano avatar Dec 03 '18 19:12 tikoflano

See #572 how that is mitigated ;) Hope that helps!

mdeboer avatar Mar 27 '19 14:03 mdeboer