You are here

public function ParseException::getParsedFile in Translation template extractor 6.3

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

Gets the filename where the error occurred.

This method returns null if a string is parsed.

Return value

string The filename

File

vendor/Symfony/Component/Yaml/Exception/ParseException.php, line 78

Class

ParseException
Exception class thrown when an error occurs during parsing.

Namespace

Symfony\Component\Yaml\Exception

Code

public function getParsedFile() {
  return $this->parsedFile;
}