5. Advanced OOP
Chapter 4, “Basic Object-Oriented Programming,” covers the fundamental concepts of OOP in PHP. A fair amount of theory is also discussed there, because that’s half the OOP battle. Here, things get more advanced (hence the chapter title!), going into the more abstract aspects of OOP, with ample time again given to theory.
Most of the topics discussed in this chapter involve inheritance, the understanding of which is crucial to using OOP. You’ll learn how to have one class inherit from another, and the various ways that a class’s ...
Get PHP Advanced and Object-Oriented Programming: Visual Quickpro Guide, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.