PHP 클래스 Nelmio\Alice\Throwable\Exception\Generator\Hydrator\HydrationExceptionFactory

파일 보기 프로젝트 열기: nelmio/alice 1 사용 예제들

공개 메소드들

메소드 설명
create ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous ) : HydrationException
createForCouldNotHydrateObjectWithProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : NoSuchPropertyException
createForInaccessibleProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InaccessiblePropertyException
createForInvalidProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InvalidArgumentException

메소드 상세

create() 공개 정적인 메소드

public static create ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous ) : HydrationException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
리턴 HydrationException

createForCouldNotHydrateObjectWithProperty() 공개 정적인 메소드

public static createForCouldNotHydrateObjectWithProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : NoSuchPropertyException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
리턴 NoSuchPropertyException

createForInaccessibleProperty() 공개 정적인 메소드

public static createForInaccessibleProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InaccessiblePropertyException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
리턴 InaccessiblePropertyException

createForInvalidProperty() 공개 정적인 메소드

public static createForInvalidProperty ( Nelmio\Alice\ObjectInterface $object, Property $property, integer $code, Throwable $previous = null ) : InvalidArgumentException
$object Nelmio\Alice\ObjectInterface
$property Nelmio\Alice\Definition\Property
$code integer
$previous Throwable
리턴 InvalidArgumentException