Inheritance: Vertical or Horizontal?

Shenandoah

Inheritance in PHP can be achieved in multiple ways. We’ll cover both vertical and horizontal inheritance, including abstracts, interfaces, and traits, and when each should and shouldn’t be used. Pros, cons, and common things to watch out for will be discussed so you can take your application to the next level.

All Levels