public function ParseException::setParsedLine

Sets the line where the error occurred.

Parameters

integer $parsedLine The file line:

File

drupal/core/vendor/symfony/yaml/Symfony/Component/Yaml/Exception/ParseException.php, line 110

Class

ParseException
Exception class thrown when an error occurs during parsing.

Namespace

Symfony\Component\Yaml\Exception

Code

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