SensioFrameworkExtraBundle
SensioFrameworkExtraBundle copied to clipboard
Extending DoctrineParamConverter
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?
See #572 how that is mitigated ;) Hope that helps!