Answer the question
In order to leave comments, you need to log in
When to use methods when php objects?
I have a method, for example, to display lists of news, we pass the category ID to the method parameter, in different sections there are different categories, as for me everything is fine and correct, but maybe I'm wrong. Throughout the work, I practically did not use objects, where is their use justified? If possible with an accessible example
Answer the question
In order to leave comments, you need to log in
where is their use justified?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question