Answer the question
In order to leave comments, you need to log in
Symfony where to put your functions / classes?
Greetings to all, I am writing the first project on symphony, I ran into the fact that I don’t know where to put my custom functions (helpers) so that they are available from the entire application.
As for the classes, it’s clear here, we’re making our own bundle ... Which I already did for my MyController (additional layer) ...
As for simple functions, there is only one thought, to make a separate HelperBundle-type bundle to create thematic controllers and prescribe static controllers in them methods ...
But something tells me that I am writing a bicycle, so I want to ask knowledgeable people where to put such things for good?
Beaver everyone) Thank you ...
Answer the question
In order to leave comments, you need to log in
faced with the fact that I don’t know where to put my user functions (helpers) so that they are available from the entire application.Group by application and make a service out of it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question