Conjuring Functionality Mystique with Anonymous Classes Anonymous classes are classes without a name. If you’ve been following this article series, this shouldn’t be that foreign of a concept to you. Think back on anonymous functions. https://blog.devgenius.io/php-7-x-p39-anonymous-functions-75f6f99fa571 An anonymous class can be assigned to a variable or be passed as an argument. They use the keyword Class and are instantiated with the new keyword. They can pass constructor arguments, inherit from their parent class, and implement interfaces. In other words, they can do everything that a regular class can do. Recap: Review the code from the previous article. https://github.com/dinocajic/php-youtube-tutorials/tree/master We ended by creating the following