PHP Class Nelmio\Alice\Throwable\Exception\Parser\ParseExceptionFactory

Mostrar archivo Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
createForInvalidYaml ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
createForParserNoFoundForFile ( string $file ) : ParserNotFoundException
createForUnparsableFile ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException

Method Details

createForInvalidYaml() public static method

public static createForInvalidYaml ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
$file string
$code integer
$previous Throwable
return UnparsableFileException

createForParserNoFoundForFile() public static method

public static createForParserNoFoundForFile ( string $file ) : ParserNotFoundException
$file string
return ParserNotFoundException

createForUnparsableFile() public static method

public static createForUnparsableFile ( string $file, integer $code, Throwable $previous = null ) : UnparsableFileException
$file string
$code integer
$previous Throwable
return UnparsableFileException