PHP Класс Nelmio\Alice\Throwable\Exception\Parser\ParseExceptionFactory

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
createForInvalidYaml ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
createForParserNoFoundForFile ( string $file ) : ParserNotFoundException
createForUnparsableFile ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException

Описание методов

createForInvalidYaml() публичный статический Метод

public static createForInvalidYaml ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
$file string
$code integer
$previous Throwable
Результат UnparsableFileException

createForParserNoFoundForFile() публичный статический Метод

public static createForParserNoFoundForFile ( string $file ) : ParserNotFoundException
$file string
Результат ParserNotFoundException

createForUnparsableFile() публичный статический Метод

public static createForUnparsableFile ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
$file string
$code integer
$previous Throwable
Результат UnparsableFileException