You are here

public function ParseException::setParsedFile in Translation template extractor 7.3

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

Sets the filename where the error occurred.

Parameters

string $parsedFile The filename:

File

vendor/Symfony/Component/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 setParsedFile($parsedFile) {
  $this->parsedFile = $parsedFile;
  $this
    ->updateRepr();
}