implements |
JsonSerializable |
---|
Methods | ||
---|---|---|
public
|
__construct(
string $message,
string $file,
?int $line = null,
bool|Throwable $canBeIgnored = true,
?string $filePath = null,
?string $traitFilePath = null,
?string $tip = null,
?int $nodeLine = null,
class-string<Node>|null $nodeType = null,
?string $identifier = null,
mixed[] $metadata = [],
)
|
# |
public
|
getMessage(): string
|
# |
public
|
getFile(): string
|
# |
public
|
getFilePath(): string
|
# |
public
|
changeFilePath(string $newFilePath): self
|
# |
public
|
changeTraitFilePath(string $newFilePath): self
|
# |
public
|
getTraitFilePath(): ?string
|
# |
public
|
getLine(): ?int
|
# |
public
|
canBeIgnored(): bool
|
# |
public
|
hasNonIgnorableException(): bool
|
# |
public
|
getTip(): ?string
|
# |
public
|
withoutTip(): self
|
# |
public
|
doNotIgnore(): self
|
# |
public
|
getNodeLine(): ?int
|
# |
public
|
getNodeType(): class-string<Node>|null
|
# |
public
|
getIdentifier(): ?string
|
# |
public
|
getMetadata(): mixed[]
|
# |
public
|
jsonSerialize(): mixed
|
# |
public
static
|
decode(mixed[] $json): self
|
# |
public
static
|
__set_state(mixed[] $properties): self
|
# |