You are here

public function ParseException::setParsedLine in Translation template extractor 7.2

Same name and namespace in other branches
  1. 6.3 vendor/Symfony/Component/Yaml/Exception/ParseException.php \Symfony\Component\Yaml\Exception\ParseException::setParsedLine()
  2. 7.3 vendor/Symfony/Component/Yaml/Exception/ParseException.php \Symfony\Component\Yaml\Exception\ParseException::setParsedLine()

Sets the line where the error occurred.

Parameters

integer $parsedLine The file line:

File

vendor/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();
}