You are here

public function ParseException::getSnippet in Currency 7.2

Gets the snippet of code near the error.

Return value

string The snippet of code

File

currency/vendor/symfony/yaml/Exception/ParseException.php, line 54

Class

ParseException
Exception class thrown when an error occurs during parsing.

Namespace

Symfony\Component\Yaml\Exception

Code

public function getSnippet() {
  return $this->snippet;
}