Исключение FormatException
класс FormatException расширяет LogicException и реализует ExceptionInterface
Выбрасывается, когда в файле обнаружена синтаксическая ошибка.
Методы
| __construct(string $message, FormatExceptionContext $context, int $code = 0, Exception $previous = null) | ||
| getContext() |
Подробности
__construct(string $message, FormatExceptionContext $context, int $code = 0, Exception $previous = null)
Параметры
| string | $message | |
| FormatExceptionContext | $context | |
| int | $code | |
| Exception | $previous |
getContext()
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Dotenv/Exception/FormatException.html