PHP Class Nelmio\Alice\Throwable\Exception\FixtureBuilder\ExpressionLanguage\ExpressionLanguageExceptionFactory

Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

createForCouldNotLexValue() public static méthode

public static createForCouldNotLexValue ( string $value ) : LexException
$value string
Résultat LexException

createForExpectedMethodCallOnlyIfHasAParser() public static méthode

public static createForExpectedMethodCallOnlyIfHasAParser ( string $method ) : ParserNotFoundException
$method string
Résultat ParserNotFoundException

createForMalformedFunction() public static méthode

public static createForMalformedFunction ( string $value ) : MalformedFunctionException
$value string
Résultat MalformedFunctionException

createForNoParserFoundForToken() public static méthode

public static createForNoParserFoundForToken ( Token $token ) : ParserNotFoundException
$token Nelmio\Alice\FixtureBuilder\ExpressionLanguage\Token
Résultat ParserNotFoundException

createForUnparsableToken() public static méthode

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