PHP 클래스 Symfony\Component\Validator\ConstraintViolation

저자: Bernhard Schussek ([email protected])
상속: implements Symfony\Component\Validator\ConstraintViolationInterface
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$invalidValue
$messageParameters
$messageTemplate
$propertyPath
$root

공개 메소드들

메소드 설명
__construct ( $messageTemplate, array $messageParameters, $root, $propertyPath, $invalidValue )
getInvalidValue ( )
getMessage ( ) : string Returns the violation message.
getMessageParameters ( ) : array
getMessageTemplate ( ) : string
getPropertyPath ( )
getRoot ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $messageTemplate, array $messageParameters, $root, $propertyPath, $invalidValue )
$messageParameters array

getInvalidValue() 공개 메소드

public getInvalidValue ( )

getMessage() 공개 메소드

Returns the violation message.
public getMessage ( ) : string
리턴 string

getMessageParameters() 공개 메소드

public getMessageParameters ( ) : array
리턴 array

getMessageTemplate() 공개 메소드

public getMessageTemplate ( ) : string
리턴 string

getPropertyPath() 공개 메소드

public getPropertyPath ( )

getRoot() 공개 메소드

public getRoot ( )

프로퍼티 상세

$invalidValue 보호되어 있는 프로퍼티

protected $invalidValue

$messageParameters 보호되어 있는 프로퍼티

protected $messageParameters

$messageTemplate 보호되어 있는 프로퍼티

protected $messageTemplate

$propertyPath 보호되어 있는 프로퍼티

protected $propertyPath

$root 보호되어 있는 프로퍼티

protected $root