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

Datei anzeigen Open project: nelmio/alice Class Usage Examples

Public Methods

Method 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 method

public static createForCouldNotLexValue ( string $value ) : LexException
$value string
return LexException

createForExpectedMethodCallOnlyIfHasAParser() public static method

public static createForExpectedMethodCallOnlyIfHasAParser ( string $method ) : ParserNotFoundException
$method string
return ParserNotFoundException

createForMalformedFunction() public static method

public static createForMalformedFunction ( string $value ) : MalformedFunctionException
$value string
return MalformedFunctionException

createForNoParserFoundForToken() public static method

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

createForUnparsableToken() public static method

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