PHP 클래스 Nelmio\Alice\Throwable\Exception\FixtureBuilder\ExpressionLanguage\ExpressionLanguageExceptionFactory

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

공개 메소드들

메소드 설명
createForCouldNotLexValue ( string $value ) : LexException
createForExpectedMethodCallOnlyIfHasAParser ( string $method ) : ParserNotFoundException
createForMalformedFunction ( string $value ) : MalformedFunctionException
createForNoParserFoundForToken ( Token $token ) : ParserNotFoundException
createForUnparsableToken ( Token $token, integer $code, Throwable $previous = null ) : ParseException

메소드 상세

createForCouldNotLexValue() 공개 정적인 메소드

public static createForCouldNotLexValue ( string $value ) : LexException
$value string
리턴 LexException

createForExpectedMethodCallOnlyIfHasAParser() 공개 정적인 메소드

public static createForExpectedMethodCallOnlyIfHasAParser ( string $method ) : ParserNotFoundException
$method string
리턴 ParserNotFoundException

createForMalformedFunction() 공개 정적인 메소드

public static createForMalformedFunction ( string $value ) : MalformedFunctionException
$value string
리턴 MalformedFunctionException

createForNoParserFoundForToken() 공개 정적인 메소드

public static createForNoParserFoundForToken ( Token $token ) : ParserNotFoundException
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
리턴 ParserNotFoundException

createForUnparsableToken() 공개 정적인 메소드

public static createForUnparsableToken ( Token $token, integer $code, Throwable $previous = null ) : ParseException
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
$code integer
$previous Throwable
리턴 ParseException