Tag: public


  • In general, I agree with Lukas. I dislike the way private methods block any possible extension. I much more prefer being able to extend something if a piece of code does not support the use case I have. I agree with pro-private people that it is important to have a good API design and to…

  • Even in current literature on PHP 5 object oriented development, you’ll mostly see mentions of the “public static” order. And it isn’t strange, I can understand that some people prefer the PPP at the start to give clarity on the access rules for methods. While looking around inside the symfony code, I first encountered the…