You are here

public function ParseException::setParsedFile 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::setParsedFile()

Sets the filename where the error occurred.

Parameters

string $parsedFile The filename:

File

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

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