/** * {@inheritDoc} */ public function getStartLine() { return $this->betterReflectionClass->getStartLine(); }
public function formatClass(ReflectionClass $class) { $ml = Multiline::create($class->getLocatedSource()->getSource()); return trim($ml[$class->getStartLine() - 1]); }