FormatException
extends LogicException
in package
implements
ExceptionInterface
Thrown when a file has a syntax error.
Tags
Interfaces, Classes and Traits
- ExceptionInterface
- Interface for exceptions.
Table of Contents
- $context : mixed
- __construct() : mixed
- getContext() : FormatExceptionContext
Properties
$context
private
mixed
$context
Methods
__construct()
public
__construct(string $message, FormatExceptionContext $context, int $code[, Throwable|null $previous = null ]) : mixed
Parameters
- $message : string
- $context : FormatExceptionContext
- $code : int
- $previous : Throwable|null = null
Return values
mixed —getContext()
public
getContext() : FormatExceptionContext