PHP 클래스 Doctrine\DBAL\Types\ConversionException

상속: extends Doctrine\DBAL\DBALException
파일 보기 프로젝트 열기: doctrine/dbal 1 사용 예제들

공개 메소드들

메소드 설명
conversionFailed ( string $value, string $toType ) : ConversionException Thrown when a Database to Doctrine Type Conversion fails.
conversionFailedFormat ( string $value, string $toType, string $expectedFormat, Exception $previous = null ) : ConversionException Thrown when a Database to Doctrine Type Conversion fails and we can make a statement about the expected format.
conversionFailedInvalidType ( mixed $value, string $toType, array $possibleTypes ) : ConversionException Thrown when the PHP value passed to the converter was not of the expected type.
conversionFailedSerialization ( $value, $format, $error )

메소드 상세

conversionFailed() 공개 정적인 메소드

Thrown when a Database to Doctrine Type Conversion fails.
public static conversionFailed ( string $value, string $toType ) : ConversionException
$value string
$toType string
리턴 ConversionException

conversionFailedFormat() 공개 정적인 메소드

Thrown when a Database to Doctrine Type Conversion fails and we can make a statement about the expected format.
public static conversionFailedFormat ( string $value, string $toType, string $expectedFormat, Exception $previous = null ) : ConversionException
$value string
$toType string
$expectedFormat string
$previous Exception
리턴 ConversionException

conversionFailedInvalidType() 공개 정적인 메소드

Thrown when the PHP value passed to the converter was not of the expected type.
public static conversionFailedInvalidType ( mixed $value, string $toType, array $possibleTypes ) : ConversionException
$value mixed
$toType string
$possibleTypes array
리턴 ConversionException

conversionFailedSerialization() 공개 정적인 메소드

public static conversionFailedSerialization ( $value, $format, $error )