List of Listings
Chapter 2. Objects in PHP
Listing 2.1. Parent class for classes in which we want to log method calls
Listing 2.2. DateAndTime class with methods that can be logged
Chapter 3. Using PHP classes effectively
Listing 3.1. UserValidator class using private methods for readability
Listing 3.2. Making property accesses execute accessor methods
Chapter 4. Understanding objects and classes
Chapter 5. Understanding class relationships
Listing 5.1. NewsFinder class for getting news articles from a database
Listing 5.2. UserFinder class, similar to the NewsFinder class
Listing 5.3. DatabaseClient: extracted parent class to be used by NewsFinder ...
Get PHP in Action 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.