PHP Class Nelmio\Alice\Throwable\Exception\InvalidArgumentExceptionFactory

Datei anzeigen Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
createForEmptyIncludedFileInData ( string $file ) : InvalidArgumentException
createForExpectedConfigurationArrayOfStringValue ( $value ) : InvalidArgumentException
createForExpectedConfigurationPositiveIntegerValue ( integer $value ) : InvalidArgumentException
createForExpectedConfigurationStringValue ( $value ) : InvalidArgumentException
createForFileCouldNotBeFound ( string $file, integer $code, Throwable $previous = null ) : InvalidArgumentException
createForFixtureExtendingANonTemplateFixture ( Nelmio\Alice\FixtureInterface $fixture, string $fixtureId ) : InvalidArgumentException
createForFlagBagKeyMismatch ( Nelmio\Alice\FixtureInterface $fixture, FlagBag $flags ) : InvalidArgumentException
createForInvalidConstructorMethod ( string $method ) : InvalidArgumentException
createForInvalidDynamicArrayQuantifier ( Nelmio\Alice\FixtureInterface $fixture, integer $quantifier ) : InvalidArgumentException
createForInvalidExpressionLanguageToken ( string $value ) : InvalidArgumentException
createForInvalidExpressionLanguageTokenType ( string $type ) : InvalidArgumentException
createForInvalidFakerFormatter ( string $formatter ) : InvalidArgumentException
createForInvalidLimitValue ( integer $limit ) : InvalidArgumentException
createForInvalidLimitValueForRecursiveCalls ( integer $limit ) : InvalidArgumentException
createForInvalidOptionalFlagBoundaries ( integer $percentage ) : InvalidArgumentException
createForInvalidReferenceType ( string $reference ) : InvalidArgumentException
createForInvalidSeedConfigurationValue ( integer | float | string $seed ) : InvalidArgumentException
createForNoIncludeStatementInData ( string $file ) : InvalidArgumentException
createForRedundantUniqueValue ( string $id ) : InvalidArgumentException
createForReferenceKeyMismatch ( string $id1, string $id2 ) : InvalidArgumentException
createForUnsupportedTypeForIdenticalValuesCheck ( $value ) : InvalidArgumentException

Method Details

createForEmptyIncludedFileInData() public static method

public static createForEmptyIncludedFileInData ( string $file ) : InvalidArgumentException
$file string
return InvalidArgumentException

createForExpectedConfigurationArrayOfStringValue() public static method

public static createForExpectedConfigurationArrayOfStringValue ( $value ) : InvalidArgumentException
return InvalidArgumentException

createForExpectedConfigurationPositiveIntegerValue() public static method

public static createForExpectedConfigurationPositiveIntegerValue ( integer $value ) : InvalidArgumentException
$value integer
return InvalidArgumentException

createForExpectedConfigurationStringValue() public static method

public static createForExpectedConfigurationStringValue ( $value ) : InvalidArgumentException
return InvalidArgumentException

createForFileCouldNotBeFound() public static method

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

createForFixtureExtendingANonTemplateFixture() public static method

public static createForFixtureExtendingANonTemplateFixture ( Nelmio\Alice\FixtureInterface $fixture, string $fixtureId ) : InvalidArgumentException
$fixture Nelmio\Alice\FixtureInterface
$fixtureId string
return InvalidArgumentException

createForFlagBagKeyMismatch() public static method

public static createForFlagBagKeyMismatch ( Nelmio\Alice\FixtureInterface $fixture, FlagBag $flags ) : InvalidArgumentException
$fixture Nelmio\Alice\FixtureInterface
$flags Nelmio\Alice\Definition\FlagBag
return InvalidArgumentException

createForInvalidConstructorMethod() public static method

public static createForInvalidConstructorMethod ( string $method ) : InvalidArgumentException
$method string
return InvalidArgumentException

createForInvalidDynamicArrayQuantifier() public static method

public static createForInvalidDynamicArrayQuantifier ( Nelmio\Alice\FixtureInterface $fixture, integer $quantifier ) : InvalidArgumentException
$fixture Nelmio\Alice\FixtureInterface
$quantifier integer
return InvalidArgumentException

createForInvalidExpressionLanguageToken() public static method

public static createForInvalidExpressionLanguageToken ( string $value ) : InvalidArgumentException
$value string
return InvalidArgumentException

createForInvalidExpressionLanguageTokenType() public static method

public static createForInvalidExpressionLanguageTokenType ( string $type ) : InvalidArgumentException
$type string
return InvalidArgumentException

createForInvalidFakerFormatter() public static method

public static createForInvalidFakerFormatter ( string $formatter ) : InvalidArgumentException
$formatter string
return InvalidArgumentException

createForInvalidLimitValue() public static method

public static createForInvalidLimitValue ( integer $limit ) : InvalidArgumentException
$limit integer
return InvalidArgumentException

createForInvalidLimitValueForRecursiveCalls() public static method

public static createForInvalidLimitValueForRecursiveCalls ( integer $limit ) : InvalidArgumentException
$limit integer
return InvalidArgumentException

createForInvalidOptionalFlagBoundaries() public static method

public static createForInvalidOptionalFlagBoundaries ( integer $percentage ) : InvalidArgumentException
$percentage integer
return InvalidArgumentException

createForInvalidReferenceType() public static method

public static createForInvalidReferenceType ( string $reference ) : InvalidArgumentException
$reference string
return InvalidArgumentException

createForInvalidSeedConfigurationValue() public static method

public static createForInvalidSeedConfigurationValue ( integer | float | string $seed ) : InvalidArgumentException
$seed integer | float | string
return InvalidArgumentException

createForNoIncludeStatementInData() public static method

public static createForNoIncludeStatementInData ( string $file ) : InvalidArgumentException
$file string
return InvalidArgumentException

createForRedundantUniqueValue() public static method

public static createForRedundantUniqueValue ( string $id ) : InvalidArgumentException
$id string
return InvalidArgumentException

createForReferenceKeyMismatch() public static method

public static createForReferenceKeyMismatch ( string $id1, string $id2 ) : InvalidArgumentException
$id1 string
$id2 string
return InvalidArgumentException

createForUnsupportedTypeForIdenticalValuesCheck() public static method

public static createForUnsupportedTypeForIdenticalValuesCheck ( $value ) : InvalidArgumentException
return InvalidArgumentException