src/Exception/ReflectionException.php
public function getEntityLine()
    {
        if ($this->definition) {
            foreach (file($this->getEntityPath(), FILE_IGNORE_NEW_LINES)
                as $lineNumber => $line
            ) {
                if (strpos($line, $this->definition) !== false) {
                    return $lineNumber + 1;
                }
            }
        }
        return 0;
    }
public function getEntityLine()
    {
        if ($this->definition) {
            foreach (file($this->getEntityPath(), FILE_IGNORE_NEW_LINES)
                as $lineNumber => $line
            ) {
                if (strpos($line, $this->definition) !== false) {
                    return $lineNumber + 1;
                }
            }
        }
        return 0;
    }
public function getEntityLine ( ) { if ( $ this -> definition ) { foreach ( file ( $ this -> getEntityPath ( ) , FILE_IGNORE_NEW_LINES ) as $ lineNumber => $ line ) { if ( strpos ( $ line , $ this -> definition ) !== false ) { return $ lineNumber + 1 ; } } } return 0 ; }
Get problematic entity line number

@return integer
Get problematic entity line number