class StringLength extends Constraint

Methods

__construct(array $config = array())

No description

string
getMessage()

No description

$this
setMessage($message)

No description

array
getData()

No description

bool
shouldSkipOnNoValue()

No description

$this
mergeMessageData()

No description

bool
validate(Validator $validator, $attribute, $value)

No description

getMinMessage()

No description

setMinMessage($message)

No description

getMaxMessage()

No description

setMaxMessage($message)

No description

Details

in Constraint at line 27
__construct(array $config = array())

Parameters

array $config

in Constraint at line 39
string getMessage()

Return Value

string

in Constraint at line 48
$this setMessage($message)

Parameters

$message

Return Value

$this

at line 68
array getData()

Return Value

array

in Constraint at line 65
bool shouldSkipOnNoValue()

Return Value

bool

in Constraint at line 73
$this mergeMessageData()

Return Value

$this

at line 39
bool validate(Validator $validator, $attribute, $value)

Parameters

Validator $validator
$attribute
$value

Return Value

bool

at line 76
getMinMessage()

at line 81
setMinMessage($message)

Parameters

$message

at line 87
getMaxMessage()

at line 92
setMaxMessage($message)

Parameters

$message