There are two style trends in php: "javaesque" the majority considers visibility modifiers to be very important and actively use them, in the Pitonesian minority (I personally belong) we consider that everything that is a public-private interface is nothing more than memory loss.
source
share