public function ParseException::getSnippet in Plug 7
Gets the snippet of code near the error.
Return value
string The snippet of code
File
- lib/
Symfony/ yaml/ 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;
}