GET https://test.mopo.fr/product_details/10

Forms

  • add_product_to_cart
    • product_quantity
    • _token

add_product_to_cart

Form type:
"App\Form\AddProductToCartType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
App\Entity\Product {#685
  -id: null
  -product_reference: null
  -product_name: null
  -product_description: null
  -product_price: null
  -product_quantity: null
  -order_items: Doctrine\Common\Collections\ArrayCollection {#430 …}
  -images: Doctrine\Common\Collections\ArrayCollection {#432 …}
  -product_condition: null
  -product_category: null
  -product_model: null
  -product_added_date: null
  -product_tags: Doctrine\Common\Collections\ArrayCollection {#699 …}
  -product_year: null
  -product_km: null
  -product_weight: null
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
data
App\Entity\Product {#685
  -id: null
  -product_reference: null
  -product_name: null
  -product_description: null
  -product_price: null
  -product_quantity: null
  -order_items: Doctrine\Common\Collections\ArrayCollection {#430 …}
  -images: Doctrine\Common\Collections\ArrayCollection {#432 …}
  -product_condition: null
  -product_category: null
  -product_model: null
  -product_added_date: null
  -product_tags: Doctrine\Common\Collections\ArrayCollection {#699 …}
  -product_year: null
  -product_km: null
  -product_weight: null
}
same as passed value
selected_product
App\Entity\Product {#638
  -id: 10
  -product_reference: "REF7777"
  -product_name: "Disque avant Yamaha 600XJN"
  -product_description: "Disque avant pour Yamaha 600XJN 1994."
  -product_price: "40.00"
  -product_quantity: 1
  -order_items: Doctrine\ORM\PersistentCollection {#680 …}
  -images: Doctrine\ORM\PersistentCollection {#708 …}
  -product_condition: Proxies\__CG__\App\Entity\Condition {#396 …}
  -product_category: Proxies\__CG__\App\Entity\Category {#440 …}
  -product_model: Proxies\__CG__\App\Entity\Model {#716 …}
  -product_added_date: DateTime @1685541780 {#632
    date: 2023-05-31 16:03:00.0 Europe/Zurich (+02:00)
  }
  -product_tags: Doctrine\ORM\PersistentCollection {#437 …}
  -product_year: "1994"
  -product_km: 44786
  -product_weight: "1.50"
}
same as passed value

Resolved Options

Option Value
action
""
allow_extra_fields
false
allow_file_upload
false
attr
[]
attr_translation_parameters
[]
auto_initialize
true
block_name
null
block_prefix
null
by_reference
true
compound
true
constraints
[]
csrf_field_name
"_token"
csrf_message
"The CSRF token is invalid. Please try to resubmit the form."
csrf_protection
true
csrf_token_id
null
csrf_token_manager
Symfony\Component\Security\Csrf\CsrfTokenManager {#180
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#86 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#178 …}
  -namespace: Closure() {#193 …}
}
data
App\Entity\Product {#685
  -id: null
  -product_reference: null
  -product_name: null
  -product_description: null
  -product_price: null
  -product_quantity: null
  -order_items: Doctrine\Common\Collections\ArrayCollection {#430 …}
  -images: Doctrine\Common\Collections\ArrayCollection {#432 …}
  -product_condition: null
  -product_category: null
  -product_model: null
  -product_added_date: null
  -product_tags: Doctrine\Common\Collections\ArrayCollection {#699 …}
  -product_year: null
  -product_km: null
  -product_weight: null
}
data_class
"App\Entity\Product"
disabled
false
empty_data
Closure(FormInterface $form) {#872
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  this: Symfony\Component\Form\Extension\Core\Type\FormType {#697 …}
  use: {
    $class: "App\Entity\Product"
  }
}
error_bubbling
true
error_mapping
[]
extra_fields_message
"This form should not contain extra fields."
form_attr
false
getter
null
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
inherit_data
false
invalid_message
"This value is not valid."
invalid_message_parameters
[]
is_empty_callback
null
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
mapped
true
method
"POST"
post_max_size_message
"The uploaded file was too large. Please try to upload a smaller file."
priority
0
property_path
null
required
true
row_attr
[]
selected_product
App\Entity\Product {#638
  -id: 10
  -product_reference: "REF7777"
  -product_name: "Disque avant Yamaha 600XJN"
  -product_description: "Disque avant pour Yamaha 600XJN 1994."
  -product_price: "40.00"
  -product_quantity: 1
  -order_items: Doctrine\ORM\PersistentCollection {#680 …}
  -images: Doctrine\ORM\PersistentCollection {#708 …}
  -product_condition: Proxies\__CG__\App\Entity\Condition {#396 …}
  -product_category: Proxies\__CG__\App\Entity\Category {#440 …}
  -product_model: Proxies\__CG__\App\Entity\Model {#716 …}
  -product_added_date: DateTime @1685541780 {#632
    date: 2023-05-31 16:03:00.0 Europe/Zurich (+02:00)
  }
  -product_tags: Doctrine\ORM\PersistentCollection {#437 …}
  -product_year: "1994"
  -product_km: 44786
  -product_weight: "1.50"
}
setter
null
translation_domain
null
trim
true
upload_max_size_message
Closure() {#870
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  this: Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension {#835 …}
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#693 …}
    $translationDomain: "validators"
    $message: Closure() {#871 …}
  }
}
validation_groups
null

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "add_product_to_cart"
  "_add_product_to_cart"
]
cache_key
"_add_product_to_cart_add_product_to_cart"
compound
true
data
App\Entity\Product {#685
  -id: null
  -product_reference: null
  -product_name: null
  -product_description: null
  -product_price: null
  -product_quantity: null
  -order_items: Doctrine\Common\Collections\ArrayCollection {#430 …}
  -images: Doctrine\Common\Collections\ArrayCollection {#432 …}
  -product_condition: null
  -product_category: null
  -product_model: null
  -product_added_date: null
  -product_tags: Doctrine\Common\Collections\ArrayCollection {#699 …}
  -product_year: null
  -product_km: null
  -product_weight: null
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#840
  -form: Symfony\Component\Form\Form {#857 …}
  -errors: []
}
form
Symfony\Component\Form\FormView {#869 …5}
full_name
"add_product_to_cart"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"add_product_to_cart"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
false
name
"add_product_to_cart"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
null
unique_block_prefix
"_add_product_to_cart"
valid
true
value
App\Entity\Product {#685
  -id: null
  -product_reference: null
  -product_name: null
  -product_description: null
  -product_price: null
  -product_quantity: null
  -order_items: Doctrine\Common\Collections\ArrayCollection {#430 …}
  -images: Doctrine\Common\Collections\ArrayCollection {#432 …}
  -product_condition: null
  -product_category: null
  -product_model: null
  -product_added_date: null
  -product_tags: Doctrine\Common\Collections\ArrayCollection {#699 …}
  -product_year: null
  -product_km: null
  -product_weight: null
}