PHP Class Nelmio\Alice\Throwable\Exception\FixtureBuilder\Denormalizer\DenormalizerExceptionFactory

Show file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
createDenormalizerNotFoundForFixture ( string $fixtureId ) : DenormalizerNotFoundException
createDenormalizerNotFoundUnexpectedCall ( string $method, integer $code, Throwable $previous = null ) : DenormalizerNotFoundException
createForInvalidScopeForUniqueValue ( ) : InvalidScopeException
createForUndenormalizableConstructor ( ) : UnexpectedValueException
createForUnparsableValue ( string $value, integer $code, Throwable $previous ) : UnexpectedValueException

Method Details

createDenormalizerNotFoundForFixture() public static method

public static createDenormalizerNotFoundForFixture ( string $fixtureId ) : DenormalizerNotFoundException
$fixtureId string
return DenormalizerNotFoundException

createDenormalizerNotFoundUnexpectedCall() public static method

public static createDenormalizerNotFoundUnexpectedCall ( string $method, integer $code, Throwable $previous = null ) : DenormalizerNotFoundException
$method string
$code integer
$previous Throwable
return DenormalizerNotFoundException

createForInvalidScopeForUniqueValue() public static method

public static createForInvalidScopeForUniqueValue ( ) : InvalidScopeException
return InvalidScopeException

createForUndenormalizableConstructor() public static method

public static createForUndenormalizableConstructor ( ) : UnexpectedValueException
return UnexpectedValueException

createForUnparsableValue() public static method

public static createForUnparsableValue ( string $value, integer $code, Throwable $previous ) : UnexpectedValueException
$value string
$code integer
$previous Throwable
return UnexpectedValueException