/** * Returns the line number where this object starts. * * @return int */ public function getLinenumber() { return $this->node->getLine(); }
/** * Error creation factory * * @param string $msg * @param Statement $stmt * * @return FatalErrorException */ protected function createError($msg, $stmt) { return new FatalErrorException($msg, 0, 1, null, $stmt->getLine()); }