PHPCfg\Op::getLine PHP Method

getLine() public method

public getLine ( )
    public function getLine()
    {
        return $this->getAttribute('startLine', -1);
    }

Usage Example

Ejemplo n.º 1
0
 protected function emitError($msg, Op $op)
 {
     echo $msg;
     echo " ";
     echo $op->getFile() . ":" . $op->getLine();
     echo "\n";
 }