Answer the question
In order to leave comments, you need to log in
What is the optimal number of functions that a class should have? (best practices)?
read that for the sake of 2 functions it is not necessary to create a class.
I would like to know for the sake of how much this can already be done.
The php language, well, in the trailer, it does not have any fundamental significance.
Answer the question
In order to leave comments, you need to log in
I read that for the sake of 2 functions you should not create a class
So much so that modularity is visible and at the same time the class is not overloaded with unnecessary code. By eye in general.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question