public function ParseException::getSnippet in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/yaml/Exception/ParseException.php \Symfony\Component\Yaml\Exception\ParseException::getSnippet()
Gets the snippet of code near the error.
Return value
string The snippet of code
File
- vendor/
symfony/ yaml/ Exception/ ParseException.php, line 52
Class
- ParseException
- Exception class thrown when an error occurs during parsing.
Namespace
Symfony\Component\Yaml\ExceptionCode
public function getSnippet() {
return $this->snippet;
}