You are here

public function ParseException::setParsedLine in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/yaml/Exception/ParseException.php \Symfony\Component\Yaml\Exception\ParseException::setParsedLine()

Sets the line where the error occurred.

Parameters

int $parsedLine The file line:

File

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

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