Posts by Phelipe Balisa Folgierini • 1 point
2 posts
-
0
votes0
answers35
viewsQ: Nested entities / nested list in Doctrine
I have two tables Plate and Candidate with similar structure: TABLE Chapa ( id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id) ) TABLE Candidato ( id INT AUTO_INCREMENT NOT NULL, chapa_id INT DEFAULT…
-
0
votes2
answers261
viewsA: Doubt in the Middleware Before of the Silex Controllerprovider
You can create a separate middleware (before, after of Finish) attribute and inject it directly into the desired route/controller. So: $before = function (Request $request, Application $app) { //…