The PHP type system is modernizing with every version. It is now so advanced that it is used as early as conception time : detect dependencies between classes, reduce complexity levels between methods, identify order of execution.
The organisational strength of the type system permeates throughout the source. In fact, type analysis suggest and deny specific refactorisations. This is not determinism : they give a healthy margin of freedom, where the creative work of developers happen.
During this session, we’ll review several rules of organisation of PHP code, and how to use them to get a sound understanding of our code bases.