/** * Renders markdown for class * * @return string */ public function render() { $parser = new ClassParser($this->reflectionClass); $methods = $parser->getMethodsDetails(); ksort($methods); $this->setData(['className' => $this->reflectionClass->getName(), 'classShortName' => $this->reflectionClass->getShortName(), 'methods' => $methods, 'classDescription' => $parser->getClassDescription(), 'interfaces' => $parser->getInterfaces(), 'parentClass' => $parser->getParentClassName(), 'inheritedMethods' => $parser->getInheritedMethods()]); return parent::render(); }
public function render() { $parser = new ClassParser($this->reflectionClass); $this->setData(['className' => $this->reflectionClass->getName(), 'classShortName' => $this->reflectionClass->getShortName(), 'methods' => $parser->getMethodsDetails(), 'classDescription' => $parser->getClassDescription()]); return parent::render(); }