public function ParseException::getSnippet in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_symfony/lib/Symfony/Component/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
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ Yaml/ Exception/ ParseException.php, line 54
Class
- ParseException
- Exception class thrown when an error occurs during parsing.
Namespace
Symfony\Component\Yaml\ExceptionCode
public function getSnippet() {
return $this->snippet;
}