[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/yaml/Exception/ -> ParseException.php (summary)

(no description)

File Size: 139 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ParseException:: (8 methods):
  __construct()
  getSnippet()
  setSnippet()
  getParsedFile()
  setParsedFile()
  getParsedLine()
  setParsedLine()
  updateRepr()


Class: ParseException  - X-Ref

Exception class thrown when an error occurs during parsing.

__construct($message, $parsedLine = -1, $snippet = null, $parsedFile = null, \Exception $previous = null)   X-Ref

param: string          $message    The error message
param: int             $parsedLine The line where the error occurred
param: string|null     $snippet    The snippet of code near the problem
param: string|null     $parsedFile The file name where the error occurred
param: \Exception|null $previous   The previous exception

getSnippet()   X-Ref
Gets the snippet of code near the error.

return: string The snippet of code

setSnippet($snippet)   X-Ref
Sets the snippet of code near the error.

param: string $snippet The code snippet

getParsedFile()   X-Ref
Gets the filename where the error occurred.

This method returns null if a string is parsed.

return: string The filename

setParsedFile($parsedFile)   X-Ref
Sets the filename where the error occurred.

param: string $parsedFile The filename

getParsedLine()   X-Ref
Gets the line where the error occurred.

return: int The file line

setParsedLine($parsedLine)   X-Ref
Sets the line where the error occurred.

param: int $parsedLine The file line

updateRepr()   X-Ref
No description



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1