
ReflectionClass usage: Get all properties or methods of a Class in PHP
ReflectionClass class in PHP is a way to inspect a class and get all information of the class like what is its name, what are its properties, what are its methods, attributes, constants, even doc comments, interfaces, modifiers, namespaces, parent class, static properties, trait, check if the class is abstract or interfaces, check if iterable, [...]