FormatException

class FormatException extends LogicException implements ExceptionInterface

Thrown when a file has a syntax error.

Methods

__construct(string $message, FormatExceptionContext $context, int $code, Exception $previous = null)
getContext()

Details

__construct(string $message, FormatExceptionContext $context, int $code, Exception $previous = null)

Parameters

string $message
FormatExceptionContext $context
int $code
Exception $previous

getContext()

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Dotenv/Exception/FormatException.html