Forms

  • sylius_add_to_cart
    • cartItem
    • _token

sylius_add_to_cart

Form type:
"Sylius\Bundle\CoreBundle\Form\Type\Order\AddToCartType"

Errors

This form has no errors.

Default Data

Property Value
Model Format same as normalized format
Normalized Format
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#114919
  -cart: App\Entity\Order\Order {#13330 …}
  -cartItem: App\Entity\Order\OrderItem {#114907
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#114931 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#114932 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8099
      #id: 9574
      #code: "ASME20003C_2015"
      #product: App\Entity\Product\Product {#7310
        #id: 4546
        #code: "ASME20003C_2015"
        #attributes: Doctrine\ORM\PersistentCollection {#7700 …}
        #variants: Doctrine\ORM\PersistentCollection {#7743 …}
        #options: Doctrine\ORM\PersistentCollection {#7915
          #collection: Doctrine\Common\Collections\ArrayCollection {#7917 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7310}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210795 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751033167 {#7274
          date: 2025-06-27 16:06:07.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1758060731 {#7322
          date: 2025-09-17 00:12:11.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#7921 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#7920
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7310}
            #id: 18155
            #name: "ASME BPVC.III.1.NC-2015"
            #slug: "asme-bpvc-iii-1-nc-2015-asme20003c-2015-519698"
            #description: "This Subsection contains requirements for the material, design, fabrication, examination, testing and overpressure protection of items which are intended to conform to the requirements for Class 2 construction. The rules of Subsection NC cover the requirements for assuring the structural integrity of items. Careful application of this Section will help users to comply with applicable regulations within their jurisdictions, while achieving the operational, cost and safety benefits to be gained from the many industry best-practices detailed within these volumes."
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "Section III, Rules for Construction of Nuclear Facility Components, Division 1, Subsection NC, Class 2 Components"
            -notes: null
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7533 …}
        #channels: Doctrine\ORM\PersistentCollection {#7627 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7311 …}
        #reviews: Doctrine\ORM\PersistentCollection {#7612 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#7644 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7325 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7389 …}
        -apiLastModifiedAt: DateTime @1757973600 {#7317
          date: 2025-09-16 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: null
        -author: ""
        -publishedAt: DateTime @1420066800 {#7292
          date: 2015-01-01 00:00:00.0 Europe/Paris (+01:00)
        }
        -releasedAt: DateTime @1435701600 {#7318
          date: 2015-07-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "BPVC.III.1.NC"
        -bookCollection: ""
        -pageCount: 352
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8315 …}
      #position: 0
      #createdAt: DateTime @1751271056 {#7283
        date: 2025-06-30 10:10:56.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1758232944 {#8116
        date: 2025-09-19 00:02:24.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8259 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93187
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8099}
          #id: 9691
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8131 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8293 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8290 …}
      -apiLastModifiedAt: DateTime @1758146400 {#8098
        date: 2025-09-18 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "9780791869826"
      -ean: ""
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/b3t3zv"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8127 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8119 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#114919
  -cart: App\Entity\Order\Order {#13330 …}
  -cartItem: App\Entity\Order\OrderItem {#114907
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#114931 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#114932 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8099
      #id: 9574
      #code: "ASME20003C_2015"
      #product: App\Entity\Product\Product {#7310
        #id: 4546
        #code: "ASME20003C_2015"
        #attributes: Doctrine\ORM\PersistentCollection {#7700 …}
        #variants: Doctrine\ORM\PersistentCollection {#7743 …}
        #options: Doctrine\ORM\PersistentCollection {#7915
          #collection: Doctrine\Common\Collections\ArrayCollection {#7917 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7310}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210795 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751033167 {#7274
          date: 2025-06-27 16:06:07.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1758060731 {#7322
          date: 2025-09-17 00:12:11.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#7921 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#7920
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7310}
            #id: 18155
            #name: "ASME BPVC.III.1.NC-2015"
            #slug: "asme-bpvc-iii-1-nc-2015-asme20003c-2015-519698"
            #description: "This Subsection contains requirements for the material, design, fabrication, examination, testing and overpressure protection of items which are intended to conform to the requirements for Class 2 construction. The rules of Subsection NC cover the requirements for assuring the structural integrity of items. Careful application of this Section will help users to comply with applicable regulations within their jurisdictions, while achieving the operational, cost and safety benefits to be gained from the many industry best-practices detailed within these volumes."
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "Section III, Rules for Construction of Nuclear Facility Components, Division 1, Subsection NC, Class 2 Components"
            -notes: null
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7533 …}
        #channels: Doctrine\ORM\PersistentCollection {#7627 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7311 …}
        #reviews: Doctrine\ORM\PersistentCollection {#7612 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#7644 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7325 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7389 …}
        -apiLastModifiedAt: DateTime @1757973600 {#7317
          date: 2025-09-16 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: null
        -author: ""
        -publishedAt: DateTime @1420066800 {#7292
          date: 2015-01-01 00:00:00.0 Europe/Paris (+01:00)
        }
        -releasedAt: DateTime @1435701600 {#7318
          date: 2015-07-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "BPVC.III.1.NC"
        -bookCollection: ""
        -pageCount: 352
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8315 …}
      #position: 0
      #createdAt: DateTime @1751271056 {#7283
        date: 2025-06-30 10:10:56.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1758232944 {#8116
        date: 2025-09-19 00:02:24.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8259 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93187
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8099}
          #id: 9691
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8131 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8293 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8290 …}
      -apiLastModifiedAt: DateTime @1758146400 {#8098
        date: 2025-09-18 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "9780791869826"
      -ean: ""
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/b3t3zv"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8127 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8119 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
same as passed value
product
App\Entity\Product\Product {#7310
  #id: 4546
  #code: "ASME20003C_2015"
  #attributes: Doctrine\ORM\PersistentCollection {#7700 …}
  #variants: Doctrine\ORM\PersistentCollection {#7743 …}
  #options: Doctrine\ORM\PersistentCollection {#7915
    #collection: Doctrine\Common\Collections\ArrayCollection {#7917 …}
    #initialized: true
    -snapshot: [ …4]
    -owner: App\Entity\Product\Product {#7310}
    -association: [ …21]
    -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
    -backRefFieldName: null
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210795 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#7899 …}
  #createdAt: DateTime @1751033167 {#7274
    date: 2025-06-27 16:06:07.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1758060731 {#7322
    date: 2025-09-17 00:12:11.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#7921 …}
  #translationsCache: [
    "en_US" => App\Entity\Product\ProductTranslation {#7920
      #locale: "en_US"
      #translatable: App\Entity\Product\Product {#7310}
      #id: 18155
      #name: "ASME BPVC.III.1.NC-2015"
      #slug: "asme-bpvc-iii-1-nc-2015-asme20003c-2015-519698"
      #description: "This Subsection contains requirements for the material, design, fabrication, examination, testing and overpressure protection of items which are intended to conform to the requirements for Class 2 construction. The rules of Subsection NC cover the requirements for assuring the structural integrity of items. Careful application of this Section will help users to comply with applicable regulations within their jurisdictions, while achieving the operational, cost and safety benefits to be gained from the many industry best-practices detailed within these volumes."
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: "Section III, Rules for Construction of Nuclear Facility Components, Division 1, Subsection NC, Class 2 Components"
      -notes: null
    }
  ]
  #currentLocale: "en_US"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "match"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7533 …}
  #channels: Doctrine\ORM\PersistentCollection {#7627 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7311 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7612 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7644 …}
  -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7325 …}
  -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7389 …}
  -apiLastModifiedAt: DateTime @1757973600 {#7317
    date: 2025-09-16 00:00:00.0 Europe/Paris (+02:00)
  }
  -lastUpdatedAt: null
  -author: ""
  -publishedAt: DateTime @1420066800 {#7292
    date: 2015-01-01 00:00:00.0 Europe/Paris (+01:00)
  }
  -releasedAt: DateTime @1435701600 {#7318
    date: 2015-07-01 00:00:00.0 Europe/Paris (+02:00)
  }
  -confirmedAt: null
  -canceledAt: null
  -edition: null
  -coreDocument: "BPVC.III.1.NC"
  -bookCollection: ""
  -pageCount: 352
  -documents: Doctrine\ORM\PersistentCollection {#7464 …}
  -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
}
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 {#114939
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#114940 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#114941 …}
  -namespace: Closure() {#114943 …}
}
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#114919
  -cart: App\Entity\Order\Order {#13330 …}
  -cartItem: App\Entity\Order\OrderItem {#114907
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#114931 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#114932 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8099
      #id: 9574
      #code: "ASME20003C_2015"
      #product: App\Entity\Product\Product {#7310
        #id: 4546
        #code: "ASME20003C_2015"
        #attributes: Doctrine\ORM\PersistentCollection {#7700 …}
        #variants: Doctrine\ORM\PersistentCollection {#7743 …}
        #options: Doctrine\ORM\PersistentCollection {#7915
          #collection: Doctrine\Common\Collections\ArrayCollection {#7917 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7310}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210795 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751033167 {#7274
          date: 2025-06-27 16:06:07.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1758060731 {#7322
          date: 2025-09-17 00:12:11.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#7921 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#7920
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7310}
            #id: 18155
            #name: "ASME BPVC.III.1.NC-2015"
            #slug: "asme-bpvc-iii-1-nc-2015-asme20003c-2015-519698"
            #description: "This Subsection contains requirements for the material, design, fabrication, examination, testing and overpressure protection of items which are intended to conform to the requirements for Class 2 construction. The rules of Subsection NC cover the requirements for assuring the structural integrity of items. Careful application of this Section will help users to comply with applicable regulations within their jurisdictions, while achieving the operational, cost and safety benefits to be gained from the many industry best-practices detailed within these volumes."
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "Section III, Rules for Construction of Nuclear Facility Components, Division 1, Subsection NC, Class 2 Components"
            -notes: null
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7533 …}
        #channels: Doctrine\ORM\PersistentCollection {#7627 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7311 …}
        #reviews: Doctrine\ORM\PersistentCollection {#7612 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#7644 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7325 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7389 …}
        -apiLastModifiedAt: DateTime @1757973600 {#7317
          date: 2025-09-16 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: null
        -author: ""
        -publishedAt: DateTime @1420066800 {#7292
          date: 2015-01-01 00:00:00.0 Europe/Paris (+01:00)
        }
        -releasedAt: DateTime @1435701600 {#7318
          date: 2015-07-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "BPVC.III.1.NC"
        -bookCollection: ""
        -pageCount: 352
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8315 …}
      #position: 0
      #createdAt: DateTime @1751271056 {#7283
        date: 2025-06-30 10:10:56.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1758232944 {#8116
        date: 2025-09-19 00:02:24.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8259 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93187
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8099}
          #id: 9691
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8131 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8293 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8290 …}
      -apiLastModifiedAt: DateTime @1758146400 {#8098
        date: 2025-09-18 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "9780791869826"
      -ean: ""
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/b3t3zv"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8127 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8119 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
data_class
"Sylius\Bundle\OrderBundle\Controller\AddToCartCommand"
disabled
false
empty_data
Closure(FormInterface $form) {#114966
  class: "Symfony\Component\Form\Extension\Core\Type\FormType"
  use: {
    $class: "Sylius\Bundle\OrderBundle\Controller\AddToCartCommand"
  }
}
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
product
App\Entity\Product\Product {#7310
  #id: 4546
  #code: "ASME20003C_2015"
  #attributes: Doctrine\ORM\PersistentCollection {#7700 …}
  #variants: Doctrine\ORM\PersistentCollection {#7743 …}
  #options: Doctrine\ORM\PersistentCollection {#7915
    #collection: Doctrine\Common\Collections\ArrayCollection {#7917 …}
    #initialized: true
    -snapshot: [ …4]
    -owner: App\Entity\Product\Product {#7310}
    -association: [ …21]
    -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
    -backRefFieldName: null
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210795 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#7899 …}
  #createdAt: DateTime @1751033167 {#7274
    date: 2025-06-27 16:06:07.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1758060731 {#7322
    date: 2025-09-17 00:12:11.0 Europe/Paris (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#7921 …}
  #translationsCache: [
    "en_US" => App\Entity\Product\ProductTranslation {#7920
      #locale: "en_US"
      #translatable: App\Entity\Product\Product {#7310}
      #id: 18155
      #name: "ASME BPVC.III.1.NC-2015"
      #slug: "asme-bpvc-iii-1-nc-2015-asme20003c-2015-519698"
      #description: "This Subsection contains requirements for the material, design, fabrication, examination, testing and overpressure protection of items which are intended to conform to the requirements for Class 2 construction. The rules of Subsection NC cover the requirements for assuring the structural integrity of items. Careful application of this Section will help users to comply with applicable regulations within their jurisdictions, while achieving the operational, cost and safety benefits to be gained from the many industry best-practices detailed within these volumes."
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: "Section III, Rules for Construction of Nuclear Facility Components, Division 1, Subsection NC, Class 2 Components"
      -notes: null
    }
  ]
  #currentLocale: "en_US"
  #currentTranslation: null
  #fallbackLocale: "en_US"
  #variantSelectionMethod: "match"
  #productTaxons: Doctrine\ORM\PersistentCollection {#7533 …}
  #channels: Doctrine\ORM\PersistentCollection {#7627 …}
  #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7311 …}
  #reviews: Doctrine\ORM\PersistentCollection {#7612 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#7644 …}
  -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7325 …}
  -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7389 …}
  -apiLastModifiedAt: DateTime @1757973600 {#7317
    date: 2025-09-16 00:00:00.0 Europe/Paris (+02:00)
  }
  -lastUpdatedAt: null
  -author: ""
  -publishedAt: DateTime @1420066800 {#7292
    date: 2015-01-01 00:00:00.0 Europe/Paris (+01:00)
  }
  -releasedAt: DateTime @1435701600 {#7318
    date: 2015-07-01 00:00:00.0 Europe/Paris (+02:00)
  }
  -confirmedAt: null
  -canceledAt: null
  -edition: null
  -coreDocument: "BPVC.III.1.NC"
  -bookCollection: ""
  -pageCount: 352
  -documents: Doctrine\ORM\PersistentCollection {#7464 …}
  -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
}
property_path
null
required
true
row_attr
[]
setter
null
translation_domain
null
trim
true
upload_max_size_message
Closure() {#114968
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#2251 …}
    $message: Closure() {#114967 …}
    $translationDomain: "validators"
  }
}
validation_groups
[
  "sylius"
]

View Vars

Variable Value
action
""
attr
[]
attr_translation_parameters
[]
block_prefixes
[
  "form"
  "sylius_add_to_cart"
  "_sylius_add_to_cart"
]
cache_key
"_sylius_add_to_cart_sylius_add_to_cart"
compound
true
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#114919
  -cart: App\Entity\Order\Order {#13330 …}
  -cartItem: App\Entity\Order\OrderItem {#114907
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#114931 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#114932 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8099
      #id: 9574
      #code: "ASME20003C_2015"
      #product: App\Entity\Product\Product {#7310
        #id: 4546
        #code: "ASME20003C_2015"
        #attributes: Doctrine\ORM\PersistentCollection {#7700 …}
        #variants: Doctrine\ORM\PersistentCollection {#7743 …}
        #options: Doctrine\ORM\PersistentCollection {#7915
          #collection: Doctrine\Common\Collections\ArrayCollection {#7917 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7310}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210795 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751033167 {#7274
          date: 2025-06-27 16:06:07.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1758060731 {#7322
          date: 2025-09-17 00:12:11.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#7921 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#7920
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7310}
            #id: 18155
            #name: "ASME BPVC.III.1.NC-2015"
            #slug: "asme-bpvc-iii-1-nc-2015-asme20003c-2015-519698"
            #description: "This Subsection contains requirements for the material, design, fabrication, examination, testing and overpressure protection of items which are intended to conform to the requirements for Class 2 construction. The rules of Subsection NC cover the requirements for assuring the structural integrity of items. Careful application of this Section will help users to comply with applicable regulations within their jurisdictions, while achieving the operational, cost and safety benefits to be gained from the many industry best-practices detailed within these volumes."
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "Section III, Rules for Construction of Nuclear Facility Components, Division 1, Subsection NC, Class 2 Components"
            -notes: null
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7533 …}
        #channels: Doctrine\ORM\PersistentCollection {#7627 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7311 …}
        #reviews: Doctrine\ORM\PersistentCollection {#7612 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#7644 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7325 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7389 …}
        -apiLastModifiedAt: DateTime @1757973600 {#7317
          date: 2025-09-16 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: null
        -author: ""
        -publishedAt: DateTime @1420066800 {#7292
          date: 2015-01-01 00:00:00.0 Europe/Paris (+01:00)
        }
        -releasedAt: DateTime @1435701600 {#7318
          date: 2015-07-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "BPVC.III.1.NC"
        -bookCollection: ""
        -pageCount: 352
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8315 …}
      #position: 0
      #createdAt: DateTime @1751271056 {#7283
        date: 2025-06-30 10:10:56.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1758232944 {#8116
        date: 2025-09-19 00:02:24.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8259 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93187
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8099}
          #id: 9691
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8131 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8293 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8290 …}
      -apiLastModifiedAt: DateTime @1758146400 {#8098
        date: 2025-09-18 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "9780791869826"
      -ean: ""
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/b3t3zv"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8127 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8119 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#114993
  -form: Symfony\Component\Form\Form {#114998 …}
  -errors: []
}
form
Symfony\Component\Form\FormView {#114969 …5}
full_name
"sylius_add_to_cart"
help
null
help_attr
[]
help_html
false
help_translation_parameters
[]
id
"sylius_add_to_cart"
label
null
label_attr
[]
label_format
null
label_html
false
label_translation_parameters
[]
method
"POST"
multipart
false
name
"sylius_add_to_cart"
priority
0
required
true
row_attr
[]
submitted
false
translation_domain
null
unique_block_prefix
"_sylius_add_to_cart"
valid
true
value
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#114919
  -cart: App\Entity\Order\Order {#13330 …}
  -cartItem: App\Entity\Order\OrderItem {#114907
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#114931 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#114932 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8099
      #id: 9574
      #code: "ASME20003C_2015"
      #product: App\Entity\Product\Product {#7310
        #id: 4546
        #code: "ASME20003C_2015"
        #attributes: Doctrine\ORM\PersistentCollection {#7700 …}
        #variants: Doctrine\ORM\PersistentCollection {#7743 …}
        #options: Doctrine\ORM\PersistentCollection {#7915
          #collection: Doctrine\Common\Collections\ArrayCollection {#7917 …}
          #initialized: true
          -snapshot: [ …4]
          -owner: App\Entity\Product\Product {#7310}
          -association: [ …21]
          -em: ContainerHAOxQ06\EntityManagerGhostEbeb667 {#775 …}
          -backRefFieldName: null
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#210795 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751033167 {#7274
          date: 2025-06-27 16:06:07.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1758060731 {#7322
          date: 2025-09-17 00:12:11.0 Europe/Paris (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#7921 …}
        #translationsCache: [
          "en_US" => App\Entity\Product\ProductTranslation {#7920
            #locale: "en_US"
            #translatable: App\Entity\Product\Product {#7310}
            #id: 18155
            #name: "ASME BPVC.III.1.NC-2015"
            #slug: "asme-bpvc-iii-1-nc-2015-asme20003c-2015-519698"
            #description: "This Subsection contains requirements for the material, design, fabrication, examination, testing and overpressure protection of items which are intended to conform to the requirements for Class 2 construction. The rules of Subsection NC cover the requirements for assuring the structural integrity of items. Careful application of this Section will help users to comply with applicable regulations within their jurisdictions, while achieving the operational, cost and safety benefits to be gained from the many industry best-practices detailed within these volumes."
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "Section III, Rules for Construction of Nuclear Facility Components, Division 1, Subsection NC, Class 2 Components"
            -notes: null
          }
        ]
        #currentLocale: "en_US"
        #currentTranslation: null
        #fallbackLocale: "en_US"
        #variantSelectionMethod: "match"
        #productTaxons: Doctrine\ORM\PersistentCollection {#7533 …}
        #channels: Doctrine\ORM\PersistentCollection {#7627 …}
        #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#7311 …}
        #reviews: Doctrine\ORM\PersistentCollection {#7612 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#7644 …}
        -supplier: Proxies\__CG__\App\Entity\Supplier\Supplier {#7325 …}
        -subscriptionCollections: Doctrine\ORM\PersistentCollection {#7389 …}
        -apiLastModifiedAt: DateTime @1757973600 {#7317
          date: 2025-09-16 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: null
        -author: ""
        -publishedAt: DateTime @1420066800 {#7292
          date: 2015-01-01 00:00:00.0 Europe/Paris (+01:00)
        }
        -releasedAt: DateTime @1435701600 {#7318
          date: 2015-07-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "BPVC.III.1.NC"
        -bookCollection: ""
        -pageCount: 352
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8315 …}
      #position: 0
      #createdAt: DateTime @1751271056 {#7283
        date: 2025-06-30 10:10:56.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1758232944 {#8116
        date: 2025-09-19 00:02:24.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8259 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93187
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8099}
          #id: 9691
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 9
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8131 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8293 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8290 …}
      -apiLastModifiedAt: DateTime @1758146400 {#8098
        date: 2025-09-18 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "9780791869826"
      -ean: ""
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: "https://online-viewer.normadoc.com/b3t3zv"
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8127 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8119 …}
      -enabledForSubscribers: true
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}