PHP Class Nelmio\Alice\Throwable\Exception\Generator\Resolver\UnresolvableValueExceptionFactory

Mostra file Open project: nelmio/alice Class Usage Examples

Public Methods

Method Description
create ( Nelmio\Alice\Definition\ValueInterface $value, integer $code, Throwable $previous = null ) : UnresolvableValueException
createForCouldNotEvaluateExpression ( Nelmio\Alice\Definition\ValueInterface $value, integer $code, Throwable $previous = null ) : UnresolvableValueException
createForCouldNotFindParameter ( string $parameterKey ) : UnresolvableValueException
createForCouldNotFindVariable ( Nelmio\Alice\Definition\ValueInterface $value, integer $code, Throwable $previous = null ) : UnresolvableValueException
createForInvalidReferenceId ( Nelmio\Alice\Definition\ValueInterface $value, $result, integer $code, Throwable $previous = null ) : UnresolvableValueException
createForInvalidResolvedQuantifierTypeForOptionalValue ( Nelmio\Alice\Definition\ValueInterface $quantifier, null | object | array | float | boolean $resolvedQuantifier ) : UnresolvableValueException
createForNoFixtureOrObjectMatchingThePattern ( Nelmio\Alice\Definition\ValueInterface $value ) : UnresolvableValueException

Method Details

create() public static method

public static create ( Nelmio\Alice\Definition\ValueInterface $value, integer $code, Throwable $previous = null ) : UnresolvableValueException
$value Nelmio\Alice\Definition\ValueInterface
$code integer
$previous Throwable
return UnresolvableValueException

createForCouldNotEvaluateExpression() public static method

public static createForCouldNotEvaluateExpression ( Nelmio\Alice\Definition\ValueInterface $value, integer $code, Throwable $previous = null ) : UnresolvableValueException
$value Nelmio\Alice\Definition\ValueInterface
$code integer
$previous Throwable
return UnresolvableValueException

createForCouldNotFindParameter() public static method

public static createForCouldNotFindParameter ( string $parameterKey ) : UnresolvableValueException
$parameterKey string
return UnresolvableValueException

createForCouldNotFindVariable() public static method

public static createForCouldNotFindVariable ( Nelmio\Alice\Definition\ValueInterface $value, integer $code, Throwable $previous = null ) : UnresolvableValueException
$value Nelmio\Alice\Definition\ValueInterface
$code integer
$previous Throwable
return UnresolvableValueException

createForInvalidReferenceId() public static method

public static createForInvalidReferenceId ( Nelmio\Alice\Definition\ValueInterface $value, $result, integer $code, Throwable $previous = null ) : UnresolvableValueException
$value Nelmio\Alice\Definition\ValueInterface
$code integer
$previous Throwable
return UnresolvableValueException

createForInvalidResolvedQuantifierTypeForOptionalValue() public static method

public static createForInvalidResolvedQuantifierTypeForOptionalValue ( Nelmio\Alice\Definition\ValueInterface $quantifier, null | object | array | float | boolean $resolvedQuantifier ) : UnresolvableValueException
$quantifier Nelmio\Alice\Definition\ValueInterface
$resolvedQuantifier null | object | array | float | boolean
return UnresolvableValueException

createForNoFixtureOrObjectMatchingThePattern() public static method

public static createForNoFixtureOrObjectMatchingThePattern ( Nelmio\Alice\Definition\ValueInterface $value ) : UnresolvableValueException
$value Nelmio\Alice\Definition\ValueInterface
return UnresolvableValueException