You are here

public function ParseException::setParsedLine in Plug 7

Sets the line where the error occurred.

Parameters

int $parsedLine The file line:

File

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