Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.
Is there a way to grab all variables in a class in some kind of list form? The idea is to have a function built inside a controller class that will create a new class reference all it's own variables inside the new class before executing the class's main function.