[
"value" => Symfony\Component\Form\Form {#1478
name: "registration_form"
type_class: "App\Form\RegistrationFormType"
data: App\Entity\User {#1164
-id: null
-username: "John8212"
-roles: []
-password: null
-email: "test@email.com"
-photos: Doctrine\Common\Collections\ArrayCollection {#1165 …}
-isVerified: true
-articles: Doctrine\Common\Collections\ArrayCollection {#1166 …}
-profile: App\Entity\Profile {#1175 …}
-username_canonical: null
-status: 1
-points: 0
-pointsApproved: 0
-pointsWaiting: 0
-pointsPaid: 0
-pointsAvailable: 0
-allExtraPoints: 0
-czwartaedycja: false
-piataedycja: false
-szostaedycja: false
-siodmaedycja: 0
-osmaedycja: 0
-enabled: 0
-salt: null
-adviser: App\Entity\User {#2359 …}
#lastLogin: null
-users: Doctrine\Common\Collections\ArrayCollection {#1167 …}
-invoices: Doctrine\Common\Collections\ArrayCollection {#1168 …}
-createdInvoices: Doctrine\Common\Collections\ArrayCollection {#1169 …}
#groups: Doctrine\Common\Collections\ArrayCollection {#1170 …}
#type: "user"
-orders: Doctrine\Common\Collections\ArrayCollection {#1171 …}
-extraPoints: Doctrine\Common\Collections\ArrayCollection {#1172 …}
-deliveryAddresses: Doctrine\Common\Collections\ArrayCollection {#1173 …}
-sendPassword: false
-isAllowed: false
-statements: false
-statements2: false
+phone: null
-plainPassword: null
-details: null
-createdAt: null
-updatedAt: null
#deletedAt: null
}
}
"constraints" => null
"groups" => null
]
Path |
Message |
Invalid value |
Violation |
data.username |
Prosimy wpisać cyfry |
"John8212" |
Symfony\Component\Validator\ConstraintViolation {#3295
-message: "Prosimy wpisać cyfry"
-messageTemplate: "Prosimy wpisać cyfry"
-parameters: [
"{{ value }}" => ""John8212""
"{{ pattern }}" => "/^\d+(\.\d+)?/"
]
-plural: null
-root: Symfony\Component\Form\Form {#1478
name: "registration_form"
type_class: "App\Form\RegistrationFormType"
data: App\Entity\User {#1164
-id: null
-username: "John8212"
-roles: []
-password: null
-email: "test@email.com"
-photos: Doctrine\Common\Collections\ArrayCollection {#1165 …}
-isVerified: true
-articles: Doctrine\Common\Collections\ArrayCollection {#1166 …}
-profile: App\Entity\Profile {#1175 …}
-username_canonical: null
-status: 1
-points: 0
-pointsApproved: 0
-pointsWaiting: 0
-pointsPaid: 0
-pointsAvailable: 0
-allExtraPoints: 0
-czwartaedycja: false
-piataedycja: false
-szostaedycja: false
-siodmaedycja: 0
-osmaedycja: 0
-enabled: 0
-salt: null
-adviser: App\Entity\User {#2359 …}
#lastLogin: null
-users: Doctrine\Common\Collections\ArrayCollection {#1167 …}
-invoices: Doctrine\Common\Collections\ArrayCollection {#1168 …}
-createdInvoices: Doctrine\Common\Collections\ArrayCollection {#1169 …}
#groups: Doctrine\Common\Collections\ArrayCollection {#1170 …}
#type: "user"
-orders: Doctrine\Common\Collections\ArrayCollection {#1171 …}
-extraPoints: Doctrine\Common\Collections\ArrayCollection {#1172 …}
-deliveryAddresses: Doctrine\Common\Collections\ArrayCollection {#1173 …}
-sendPassword: false
-isAllowed: false
-statements: false
-statements2: false
+phone: null
-plainPassword: null
-details: null
-createdAt: null
-updatedAt: null
#deletedAt: null
}
}
-propertyPath: "data.username"
-invalidValue: "John8212"
-constraint: Symfony\Component\Validator\Constraints\Regex {#1492 …}
-code: "de1e3db3-5ed4-4941-aae4-59f3667cc3a3"
-cause: null
} |
data.profile.phone.phone |
Telefon jest niepoprawny. Musi się składać z 9 cyfr. |
"55550178" |
Symfony\Component\Validator\ConstraintViolation {#3320
-message: "Telefon jest niepoprawny. Musi się składać z 9 cyfr."
-messageTemplate: "phone.is.not.correct"
-parameters: []
-plural: null
-root: Symfony\Component\Form\Form {#1478
name: "registration_form"
type_class: "App\Form\RegistrationFormType"
data: App\Entity\User {#1164
-id: null
-username: "John8212"
-roles: []
-password: null
-email: "test@email.com"
-photos: Doctrine\Common\Collections\ArrayCollection {#1165 …}
-isVerified: true
-articles: Doctrine\Common\Collections\ArrayCollection {#1166 …}
-profile: App\Entity\Profile {#1175 …}
-username_canonical: null
-status: 1
-points: 0
-pointsApproved: 0
-pointsWaiting: 0
-pointsPaid: 0
-pointsAvailable: 0
-allExtraPoints: 0
-czwartaedycja: false
-piataedycja: false
-szostaedycja: false
-siodmaedycja: 0
-osmaedycja: 0
-enabled: 0
-salt: null
-adviser: App\Entity\User {#2359 …}
#lastLogin: null
-users: Doctrine\Common\Collections\ArrayCollection {#1167 …}
-invoices: Doctrine\Common\Collections\ArrayCollection {#1168 …}
-createdInvoices: Doctrine\Common\Collections\ArrayCollection {#1169 …}
#groups: Doctrine\Common\Collections\ArrayCollection {#1170 …}
#type: "user"
-orders: Doctrine\Common\Collections\ArrayCollection {#1171 …}
-extraPoints: Doctrine\Common\Collections\ArrayCollection {#1172 …}
-deliveryAddresses: Doctrine\Common\Collections\ArrayCollection {#1173 …}
-sendPassword: false
-isAllowed: false
-statements: false
-statements2: false
+phone: null
-plainPassword: null
-details: null
-createdAt: null
-updatedAt: null
#deletedAt: null
}
}
-propertyPath: "data.profile.phone.phone"
-invalidValue: "55550178"
-constraint: App\Validator\Phone {#1712 …}
-code: null
-cause: null
} |
data.profile.zipCode.zipCode |
Wprowadź poprawny kod pocztowy (xx-xxx) |
"127.0.0.1" |
Symfony\Component\Validator\ConstraintViolation {#3317
-message: "Wprowadź poprawny kod pocztowy (xx-xxx)"
-messageTemplate: "Please enter a valid Zip Code."
-parameters: []
-plural: null
-root: Symfony\Component\Form\Form {#1478
name: "registration_form"
type_class: "App\Form\RegistrationFormType"
data: App\Entity\User {#1164
-id: null
-username: "John8212"
-roles: []
-password: null
-email: "test@email.com"
-photos: Doctrine\Common\Collections\ArrayCollection {#1165 …}
-isVerified: true
-articles: Doctrine\Common\Collections\ArrayCollection {#1166 …}
-profile: App\Entity\Profile {#1175 …}
-username_canonical: null
-status: 1
-points: 0
-pointsApproved: 0
-pointsWaiting: 0
-pointsPaid: 0
-pointsAvailable: 0
-allExtraPoints: 0
-czwartaedycja: false
-piataedycja: false
-szostaedycja: false
-siodmaedycja: 0
-osmaedycja: 0
-enabled: 0
-salt: null
-adviser: App\Entity\User {#2359 …}
#lastLogin: null
-users: Doctrine\Common\Collections\ArrayCollection {#1167 …}
-invoices: Doctrine\Common\Collections\ArrayCollection {#1168 …}
-createdInvoices: Doctrine\Common\Collections\ArrayCollection {#1169 …}
#groups: Doctrine\Common\Collections\ArrayCollection {#1170 …}
#type: "user"
-orders: Doctrine\Common\Collections\ArrayCollection {#1171 …}
-extraPoints: Doctrine\Common\Collections\ArrayCollection {#1172 …}
-deliveryAddresses: Doctrine\Common\Collections\ArrayCollection {#1173 …}
-sendPassword: false
-isAllowed: false
-statements: false
-statements2: false
+phone: null
-plainPassword: null
-details: null
-createdAt: null
-updatedAt: null
#deletedAt: null
}
}
-propertyPath: "data.profile.zipCode.zipCode"
-invalidValue: "127.0.0.1"
-constraint: App\Validator\ZipCode {#1717 …}
-code: null
-cause: null
} |
children[username].data |
Ta wartość powinna mieć dokładnie 11 znaków. |
"John8212" |
Symfony\Component\Validator\ConstraintViolation {#3305
-message: "Ta wartość powinna mieć dokładnie 11 znaków."
-messageTemplate: "This value should have exactly {{ limit }} character.|This value should have exactly {{ limit }} characters."
-parameters: [
"{{ value }}" => ""John8212""
"{{ limit }}" => "11"
"{{ value_length }}" => "8"
]
-plural: 11
-root: Symfony\Component\Form\Form {#1478
name: "registration_form"
type_class: "App\Form\RegistrationFormType"
data: App\Entity\User {#1164
-id: null
-username: "John8212"
-roles: []
-password: null
-email: "test@email.com"
-photos: Doctrine\Common\Collections\ArrayCollection {#1165 …}
-isVerified: true
-articles: Doctrine\Common\Collections\ArrayCollection {#1166 …}
-profile: App\Entity\Profile {#1175 …}
-username_canonical: null
-status: 1
-points: 0
-pointsApproved: 0
-pointsWaiting: 0
-pointsPaid: 0
-pointsAvailable: 0
-allExtraPoints: 0
-czwartaedycja: false
-piataedycja: false
-szostaedycja: false
-siodmaedycja: 0
-osmaedycja: 0
-enabled: 0
-salt: null
-adviser: App\Entity\User {#2359 …}
#lastLogin: null
-users: Doctrine\Common\Collections\ArrayCollection {#1167 …}
-invoices: Doctrine\Common\Collections\ArrayCollection {#1168 …}
-createdInvoices: Doctrine\Common\Collections\ArrayCollection {#1169 …}
#groups: Doctrine\Common\Collections\ArrayCollection {#1170 …}
#type: "user"
-orders: Doctrine\Common\Collections\ArrayCollection {#1171 …}
-extraPoints: Doctrine\Common\Collections\ArrayCollection {#1172 …}
-deliveryAddresses: Doctrine\Common\Collections\ArrayCollection {#1173 …}
-sendPassword: false
-isAllowed: false
-statements: false
-statements2: false
+phone: null
-plainPassword: null
-details: null
-createdAt: null
-updatedAt: null
#deletedAt: null
}
}
-propertyPath: "children[username].data"
-invalidValue: "John8212"
-constraint: Symfony\Component\Validator\Constraints\Length {#1327 …}
-code: "4b6f5c76-22b4-409d-af16-fbe823ba9332"
-cause: null
} |