BetterReflection\Reflection\ReflectionClass::getStartLine PHP Method

getStartLine() public method

Get the line number that this class starts on.
public getStartLine ( ) : integer
return integer
    public function getStartLine()
    {
        return (int) $this->node->getAttribute('startLine', -1);
    }

Usage Example

 /**
  * {@inheritDoc}
  */
 public function getStartLine()
 {
     return $this->betterReflectionClass->getStartLine();
 }
All Usage Examples Of BetterReflection\Reflection\ReflectionClass::getStartLine