Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ParseException.php

function ParseException::setParsedLine

Sets the line where the error occurred.

File

vendor/symfony/yaml/Exception/ParseException.php, line 88

Class

ParseException
Exception class thrown when an error occurs during parsing.

Namespace

Symfony\Component\Yaml\Exception

Code

public function setParsedLine(int $parsedLine) : void {
    $this->parsedLine = $parsedLine;
    $this->updateRepr();
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal