Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexkappa/5851274 to your computer and use it in GitHub Desktop.
Save alexkappa/5851274 to your computer and use it in GitHub Desktop.
object(Symfony\Component\Validator\ConstraintViolationList)[25]
private 'violations' =>
array (size=6)
0 =>
object(Symfony\Component\Validator\ConstraintViolation)[31]
private 'message' => string 'This value is too short. It should have 101 characters or more.' (length=63)
private 'messageTemplate' => string 'This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.' (length=142)
private 'messageParameters' =>
array (size=2)
'{{ value }}' => string 'Bob' (length=3)
'{{ limit }}' => int 101
private 'messagePluralization' => int 101
private 'root' =>
array (size=1)
'name' =>
array (size=2)
'first_name' => string 'Bob' (length=3)
'last_name' => string 'Sagget' (length=6)
private 'propertyPath' => string '[name][first_name]' (length=18)
private 'invalidValue' => string 'Bob' (length=3)
private 'code' => null
1 =>
object(Symfony\Component\Validator\ConstraintViolation)[29]
private 'message' => string 'This field is missing.' (length=22)
private 'messageTemplate' => string 'This field is missing.' (length=22)
private 'messageParameters' =>
array (size=1)
'{{ field }}' => string 'email' (length=5)
private 'messagePluralization' => null
private 'root' =>
array (size=1)
'name' =>
array (size=2)
'first_name' => string 'Bob' (length=3)
'last_name' => string 'Sagget' (length=6)
private 'propertyPath' => string '[name][email]' (length=13)
private 'invalidValue' => null
private 'code' => null
2 =>
object(Symfony\Component\Validator\ConstraintViolation)[33]
private 'message' => string 'This field is missing.' (length=22)
private 'messageTemplate' => string 'This field is missing.' (length=22)
private 'messageParameters' =>
array (size=1)
'{{ field }}' => string 'simple' (length=6)
private 'messagePluralization' => null
private 'root' =>
array (size=1)
'name' =>
array (size=2)
'first_name' => string 'Bob' (length=3)
'last_name' => string 'Sagget' (length=6)
private 'propertyPath' => string '[name][simple]' (length=14)
private 'invalidValue' => null
private 'code' => null
3 =>
object(Symfony\Component\Validator\ConstraintViolation)[34]
private 'message' => string 'This field is missing.' (length=22)
private 'messageTemplate' => string 'This field is missing.' (length=22)
private 'messageParameters' =>
array (size=1)
'{{ field }}' => string 'gender' (length=6)
private 'messagePluralization' => null
private 'root' =>
array (size=1)
'name' =>
array (size=2)
'first_name' => string 'Bob' (length=3)
'last_name' => string 'Sagget' (length=6)
private 'propertyPath' => string '[name][gender]' (length=14)
private 'invalidValue' => null
private 'code' => null
4 =>
object(Symfony\Component\Validator\ConstraintViolation)[35]
private 'message' => string 'This field is missing.' (length=22)
private 'messageTemplate' => string 'This field is missing.' (length=22)
private 'messageParameters' =>
array (size=1)
'{{ field }}' => string 'file' (length=4)
private 'messagePluralization' => null
private 'root' =>
array (size=1)
'name' =>
array (size=2)
'first_name' => string 'Bob' (length=3)
'last_name' => string 'Sagget' (length=6)
private 'propertyPath' => string '[name][file]' (length=12)
private 'invalidValue' => null
private 'code' => null
5 =>
object(Symfony\Component\Validator\ConstraintViolation)[36]
private 'message' => string 'This field is missing.' (length=22)
private 'messageTemplate' => string 'This field is missing.' (length=22)
private 'messageParameters' =>
array (size=1)
'{{ field }}' => string 'password' (length=8)
private 'messagePluralization' => null
private 'root' =>
array (size=1)
'name' =>
array (size=2)
'first_name' => string 'Bob' (length=3)
'last_name' => string 'Sagget' (length=6)
private 'propertyPath' => string '[name][password]' (length=16)
private 'invalidValue' => null
private 'code' => null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment