PHP 클래스 Nelmio\Alice\Throwable\Exception\Parser\ParseExceptionFactory

파일 보기 프로젝트 열기: nelmio/alice 1 사용 예제들

공개 메소드들

메소드 설명
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