PHPParserError
Less than 1 minute
PHPParserError
Properties
sourceFile
private string $sourceFileMethods
__construct
public __construct(string $sourceFile, ?\Throwable $previous, int $code = 500): voidParameters
| Parameter | Type | Description |
|---|---|---|
$sourceFile | string | |
$previous | \Throwable | |
$code | int |
__toString
Returns the exception message as a string.
public __toString(): stringIf a previous exception exists, its message is appended to the current exception message.
getSourceFile
Gets the path to the source file where the error occurred.
public getSourceFile(): stringGenerated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:25 +0000