$name)) { //Add $this object to args array_push($args, $this); //Call the dynamic function return call_user_func_array($this->$name, $args); } } /** * Retrieve as much information about the class as possible */ public function get_all() { $this->methods = $this->getMethods(); $this->properties = $this->getProperties(); $this->doc_comments = $this->getDocComment(); $this->parent_class = $this->getParentClass(); $this->static_properties = $this->getStaticProperties(); $this->internal = (int)$this->isInternal(); return $this; } }