public function ParseException::setParsedFile

Sets the filename where the error occurred.

Parameters

string $parsedFile The filename:

File

drupal/core/vendor/symfony/yaml/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();
}