Sébastien Morel
1 min readOct 30, 2018

--

Nice article! One missing piece could be:

/**
* @Route("/user/{uuid}")
* @Entity("user", expr="repository.findOneByEncodedUuid(uuid)")
*/

Using paramConverter to kind of inject the entity directly ;-)

--

--

Sébastien Morel
Sébastien Morel

Written by Sébastien Morel

CTO @AlmaviaCX / Head of U.S. | #web #mobile #innovation #symfony #ezplatform #php #ios #docker #varnish #opensource #dad #plop

Responses (1)