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 {#106835
  -cart: App\Entity\Order\Order {#13364 …}
  -cartItem: App\Entity\Order\OrderItem {#106823
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#106848 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#106847 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8103
      #id: 8931
      #code: "IEEE00010817PDF"
      #product: App\Entity\Product\Product {#7310
        #id: 12857
        #code: "IEEE00010817"
        #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 {#208571 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751040704 {#7274
          date: 2025-06-27 18:11:44.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1757772142 {#7322
          date: 2025-09-13 16:02:22.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: 46437
            #name: "IEEE NESC HBK 2023 National Electrical Safety Code (NESC®) Handbook:2022"
            #slug: "ieee-nesc-hbk-2023-national-electrical-safety-code-nesc-r-handbook-2022-ieee00010817-244514"
            #description: """
               - Active.<br />\n
              The 2023 NESC(R) Handbook is an essential companion to the Code. This Handbook includes text directly from the Code, which provides users an easy reference back to the Code, ruling-by-ruling. It gives users insight into what lies behind the NESC's rules and how to apply them. The Handbook was developed for use at many levels in the electric and communication industries, including those involved in system design, construction, maintenance, inspection, standards development, and worker training. The Handbook also discusses how the NESC Committee has developed the rules in the Code and responded to change proposals during the past 100 years. This allows users to understand how questions may have been dealt with in the past.<br />\n
              \t\t\t\t
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "2023 National Electrical Safety Code (NESC®) Handbook"
            -notes: "Active"
          }
        ]
        #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 @1757714400 {#7317
          date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1651183200 {#7292
          date: 2022-04-29 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1659304800 {#7318
          date: 2022-08-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "IEEE NESC HBK 2023 National Electrical Safety Code"
        -bookCollection: ""
        -pageCount: 715
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8319 …}
      #position: 0
      #createdAt: DateTime @1751041381 {#7283
        date: 2025-06-27 18:23:01.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1757772183 {#8120
        date: 2025-09-13 16:03:03.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8263 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93229
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8103}
          #id: 9036
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 11
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8135 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8297 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8294 …}
      -apiLastModifiedAt: DateTime @1757714400 {#8102
        date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "978-1-5044-8426-8"
      -ean: "9781504484268"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: null
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8131 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8123 …}
      -enabledForSubscribers: false
      -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 {#106835
  -cart: App\Entity\Order\Order {#13364 …}
  -cartItem: App\Entity\Order\OrderItem {#106823
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#106848 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#106847 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8103
      #id: 8931
      #code: "IEEE00010817PDF"
      #product: App\Entity\Product\Product {#7310
        #id: 12857
        #code: "IEEE00010817"
        #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 {#208571 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751040704 {#7274
          date: 2025-06-27 18:11:44.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1757772142 {#7322
          date: 2025-09-13 16:02:22.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: 46437
            #name: "IEEE NESC HBK 2023 National Electrical Safety Code (NESC®) Handbook:2022"
            #slug: "ieee-nesc-hbk-2023-national-electrical-safety-code-nesc-r-handbook-2022-ieee00010817-244514"
            #description: """
               - Active.<br />\n
              The 2023 NESC(R) Handbook is an essential companion to the Code. This Handbook includes text directly from the Code, which provides users an easy reference back to the Code, ruling-by-ruling. It gives users insight into what lies behind the NESC's rules and how to apply them. The Handbook was developed for use at many levels in the electric and communication industries, including those involved in system design, construction, maintenance, inspection, standards development, and worker training. The Handbook also discusses how the NESC Committee has developed the rules in the Code and responded to change proposals during the past 100 years. This allows users to understand how questions may have been dealt with in the past.<br />\n
              \t\t\t\t
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "2023 National Electrical Safety Code (NESC®) Handbook"
            -notes: "Active"
          }
        ]
        #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 @1757714400 {#7317
          date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1651183200 {#7292
          date: 2022-04-29 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1659304800 {#7318
          date: 2022-08-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "IEEE NESC HBK 2023 National Electrical Safety Code"
        -bookCollection: ""
        -pageCount: 715
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8319 …}
      #position: 0
      #createdAt: DateTime @1751041381 {#7283
        date: 2025-06-27 18:23:01.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1757772183 {#8120
        date: 2025-09-13 16:03:03.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8263 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93229
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8103}
          #id: 9036
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 11
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8135 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8297 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8294 …}
      -apiLastModifiedAt: DateTime @1757714400 {#8102
        date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "978-1-5044-8426-8"
      -ean: "9781504484268"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: null
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8131 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8123 …}
      -enabledForSubscribers: false
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
same as passed value
product
App\Entity\Product\Product {#7310
  #id: 12857
  #code: "IEEE00010817"
  #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 {#208571 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#7899 …}
  #createdAt: DateTime @1751040704 {#7274
    date: 2025-06-27 18:11:44.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1757772142 {#7322
    date: 2025-09-13 16:02:22.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: 46437
      #name: "IEEE NESC HBK 2023 National Electrical Safety Code (NESC®) Handbook:2022"
      #slug: "ieee-nesc-hbk-2023-national-electrical-safety-code-nesc-r-handbook-2022-ieee00010817-244514"
      #description: """
         - Active.<br />\n
        The 2023 NESC(R) Handbook is an essential companion to the Code. This Handbook includes text directly from the Code, which provides users an easy reference back to the Code, ruling-by-ruling. It gives users insight into what lies behind the NESC's rules and how to apply them. The Handbook was developed for use at many levels in the electric and communication industries, including those involved in system design, construction, maintenance, inspection, standards development, and worker training. The Handbook also discusses how the NESC Committee has developed the rules in the Code and responded to change proposals during the past 100 years. This allows users to understand how questions may have been dealt with in the past.<br />\n
        \t\t\t\t
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: "2023 National Electrical Safety Code (NESC®) Handbook"
      -notes: "Active"
    }
  ]
  #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 @1757714400 {#7317
    date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
  }
  -lastUpdatedAt: DateTime @1651183200 {#7292
    date: 2022-04-29 00:00:00.0 Europe/Paris (+02:00)
  }
  -author: ""
  -publishedAt: DateTime @1659304800 {#7318
    date: 2022-08-01 00:00:00.0 Europe/Paris (+02:00)
  }
  -releasedAt: null
  -confirmedAt: null
  -canceledAt: null
  -edition: null
  -coreDocument: "IEEE NESC HBK 2023 National Electrical Safety Code"
  -bookCollection: ""
  -pageCount: 715
  -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 {#106855
  -generator: Symfony\Component\Security\Csrf\TokenGenerator\UriSafeTokenGenerator {#106856 …}
  -storage: Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage {#106857 …}
  -namespace: Closure() {#106859 …}
}
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#106835
  -cart: App\Entity\Order\Order {#13364 …}
  -cartItem: App\Entity\Order\OrderItem {#106823
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#106848 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#106847 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8103
      #id: 8931
      #code: "IEEE00010817PDF"
      #product: App\Entity\Product\Product {#7310
        #id: 12857
        #code: "IEEE00010817"
        #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 {#208571 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751040704 {#7274
          date: 2025-06-27 18:11:44.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1757772142 {#7322
          date: 2025-09-13 16:02:22.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: 46437
            #name: "IEEE NESC HBK 2023 National Electrical Safety Code (NESC®) Handbook:2022"
            #slug: "ieee-nesc-hbk-2023-national-electrical-safety-code-nesc-r-handbook-2022-ieee00010817-244514"
            #description: """
               - Active.<br />\n
              The 2023 NESC(R) Handbook is an essential companion to the Code. This Handbook includes text directly from the Code, which provides users an easy reference back to the Code, ruling-by-ruling. It gives users insight into what lies behind the NESC's rules and how to apply them. The Handbook was developed for use at many levels in the electric and communication industries, including those involved in system design, construction, maintenance, inspection, standards development, and worker training. The Handbook also discusses how the NESC Committee has developed the rules in the Code and responded to change proposals during the past 100 years. This allows users to understand how questions may have been dealt with in the past.<br />\n
              \t\t\t\t
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "2023 National Electrical Safety Code (NESC®) Handbook"
            -notes: "Active"
          }
        ]
        #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 @1757714400 {#7317
          date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1651183200 {#7292
          date: 2022-04-29 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1659304800 {#7318
          date: 2022-08-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "IEEE NESC HBK 2023 National Electrical Safety Code"
        -bookCollection: ""
        -pageCount: 715
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8319 …}
      #position: 0
      #createdAt: DateTime @1751041381 {#7283
        date: 2025-06-27 18:23:01.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1757772183 {#8120
        date: 2025-09-13 16:03:03.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8263 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93229
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8103}
          #id: 9036
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 11
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8135 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8297 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8294 …}
      -apiLastModifiedAt: DateTime @1757714400 {#8102
        date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "978-1-5044-8426-8"
      -ean: "9781504484268"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: null
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8131 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8123 …}
      -enabledForSubscribers: false
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
data_class
"Sylius\Bundle\OrderBundle\Controller\AddToCartCommand"
disabled
false
empty_data
Closure(FormInterface $form) {#106882
  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: 12857
  #code: "IEEE00010817"
  #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 {#208571 …}
    -isDirty: false
  }
  #associations: Doctrine\ORM\PersistentCollection {#7899 …}
  #createdAt: DateTime @1751040704 {#7274
    date: 2025-06-27 18:11:44.0 Europe/Paris (+02:00)
  }
  #updatedAt: DateTime @1757772142 {#7322
    date: 2025-09-13 16:02:22.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: 46437
      #name: "IEEE NESC HBK 2023 National Electrical Safety Code (NESC®) Handbook:2022"
      #slug: "ieee-nesc-hbk-2023-national-electrical-safety-code-nesc-r-handbook-2022-ieee00010817-244514"
      #description: """
         - Active.<br />\n
        The 2023 NESC(R) Handbook is an essential companion to the Code. This Handbook includes text directly from the Code, which provides users an easy reference back to the Code, ruling-by-ruling. It gives users insight into what lies behind the NESC's rules and how to apply them. The Handbook was developed for use at many levels in the electric and communication industries, including those involved in system design, construction, maintenance, inspection, standards development, and worker training. The Handbook also discusses how the NESC Committee has developed the rules in the Code and responded to change proposals during the past 100 years. This allows users to understand how questions may have been dealt with in the past.<br />\n
        \t\t\t\t
        """
      #metaKeywords: null
      #metaDescription: null
      #shortDescription: "2023 National Electrical Safety Code (NESC®) Handbook"
      -notes: "Active"
    }
  ]
  #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 @1757714400 {#7317
    date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
  }
  -lastUpdatedAt: DateTime @1651183200 {#7292
    date: 2022-04-29 00:00:00.0 Europe/Paris (+02:00)
  }
  -author: ""
  -publishedAt: DateTime @1659304800 {#7318
    date: 2022-08-01 00:00:00.0 Europe/Paris (+02:00)
  }
  -releasedAt: null
  -confirmedAt: null
  -canceledAt: null
  -edition: null
  -coreDocument: "IEEE NESC HBK 2023 National Electrical Safety Code"
  -bookCollection: ""
  -pageCount: 715
  -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() {#106884
  class: "Symfony\Component\Form\Extension\Validator\Type\UploadValidatorExtension"
  use: {
    $translator: Symfony\Component\Translation\DataCollectorTranslator {#2251 …}
    $message: Closure() {#106883 …}
    $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 {#106835
  -cart: App\Entity\Order\Order {#13364 …}
  -cartItem: App\Entity\Order\OrderItem {#106823
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#106848 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#106847 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8103
      #id: 8931
      #code: "IEEE00010817PDF"
      #product: App\Entity\Product\Product {#7310
        #id: 12857
        #code: "IEEE00010817"
        #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 {#208571 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751040704 {#7274
          date: 2025-06-27 18:11:44.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1757772142 {#7322
          date: 2025-09-13 16:02:22.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: 46437
            #name: "IEEE NESC HBK 2023 National Electrical Safety Code (NESC®) Handbook:2022"
            #slug: "ieee-nesc-hbk-2023-national-electrical-safety-code-nesc-r-handbook-2022-ieee00010817-244514"
            #description: """
               - Active.<br />\n
              The 2023 NESC(R) Handbook is an essential companion to the Code. This Handbook includes text directly from the Code, which provides users an easy reference back to the Code, ruling-by-ruling. It gives users insight into what lies behind the NESC's rules and how to apply them. The Handbook was developed for use at many levels in the electric and communication industries, including those involved in system design, construction, maintenance, inspection, standards development, and worker training. The Handbook also discusses how the NESC Committee has developed the rules in the Code and responded to change proposals during the past 100 years. This allows users to understand how questions may have been dealt with in the past.<br />\n
              \t\t\t\t
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "2023 National Electrical Safety Code (NESC®) Handbook"
            -notes: "Active"
          }
        ]
        #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 @1757714400 {#7317
          date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1651183200 {#7292
          date: 2022-04-29 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1659304800 {#7318
          date: 2022-08-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "IEEE NESC HBK 2023 National Electrical Safety Code"
        -bookCollection: ""
        -pageCount: 715
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8319 …}
      #position: 0
      #createdAt: DateTime @1751041381 {#7283
        date: 2025-06-27 18:23:01.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1757772183 {#8120
        date: 2025-09-13 16:03:03.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8263 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93229
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8103}
          #id: 9036
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 11
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8135 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8297 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8294 …}
      -apiLastModifiedAt: DateTime @1757714400 {#8102
        date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "978-1-5044-8426-8"
      -ean: "9781504484268"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: null
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8131 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8123 …}
      -enabledForSubscribers: false
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}
disabled
false
errors
Symfony\Component\Form\FormErrorIterator {#106905
  -form: Symfony\Component\Form\Form {#106914 …}
  -errors: []
}
form
Symfony\Component\Form\FormView {#106885 …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 {#106835
  -cart: App\Entity\Order\Order {#13364 …}
  -cartItem: App\Entity\Order\OrderItem {#106823
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #originalUnitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#106848 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#106847 …}
    #adjustmentsTotal: 0
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#8103
      #id: 8931
      #code: "IEEE00010817PDF"
      #product: App\Entity\Product\Product {#7310
        #id: 12857
        #code: "IEEE00010817"
        #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 {#208571 …}
          -isDirty: false
        }
        #associations: Doctrine\ORM\PersistentCollection {#7899 …}
        #createdAt: DateTime @1751040704 {#7274
          date: 2025-06-27 18:11:44.0 Europe/Paris (+02:00)
        }
        #updatedAt: DateTime @1757772142 {#7322
          date: 2025-09-13 16:02:22.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: 46437
            #name: "IEEE NESC HBK 2023 National Electrical Safety Code (NESC®) Handbook:2022"
            #slug: "ieee-nesc-hbk-2023-national-electrical-safety-code-nesc-r-handbook-2022-ieee00010817-244514"
            #description: """
               - Active.<br />\n
              The 2023 NESC(R) Handbook is an essential companion to the Code. This Handbook includes text directly from the Code, which provides users an easy reference back to the Code, ruling-by-ruling. It gives users insight into what lies behind the NESC's rules and how to apply them. The Handbook was developed for use at many levels in the electric and communication industries, including those involved in system design, construction, maintenance, inspection, standards development, and worker training. The Handbook also discusses how the NESC Committee has developed the rules in the Code and responded to change proposals during the past 100 years. This allows users to understand how questions may have been dealt with in the past.<br />\n
              \t\t\t\t
              """
            #metaKeywords: null
            #metaDescription: null
            #shortDescription: "2023 National Electrical Safety Code (NESC®) Handbook"
            -notes: "Active"
          }
        ]
        #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 @1757714400 {#7317
          date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
        }
        -lastUpdatedAt: DateTime @1651183200 {#7292
          date: 2022-04-29 00:00:00.0 Europe/Paris (+02:00)
        }
        -author: ""
        -publishedAt: DateTime @1659304800 {#7318
          date: 2022-08-01 00:00:00.0 Europe/Paris (+02:00)
        }
        -releasedAt: null
        -confirmedAt: null
        -canceledAt: null
        -edition: null
        -coreDocument: "IEEE NESC HBK 2023 National Electrical Safety Code"
        -bookCollection: ""
        -pageCount: 715
        -documents: Doctrine\ORM\PersistentCollection {#7464 …}
        -favorites: Doctrine\ORM\PersistentCollection {#7499 …}
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#8319 …}
      #position: 0
      #createdAt: DateTime @1751041381 {#7283
        date: 2025-06-27 18:23:01.0 Europe/Paris (+02:00)
      }
      #updatedAt: DateTime @1757772183 {#8120
        date: 2025-09-13 16:03:03.0 Europe/Paris (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#8263 …}
      #translationsCache: [
        "en_US" => App\Entity\Product\ProductVariantTranslation {#93229
          #locale: "en_US"
          #translatable: App\Entity\Product\ProductVariant {#8103}
          #id: 9036
          #name: null
          -shortDescription: null
          -description: null
          -notes: null
          -shippingInformation: "Instant download"
        }
      ]
      #currentLocale: "en_US"
      #currentTranslation: null
      #fallbackLocale: "en_US"
      #version: 11
      #onHold: 0
      #onHand: 0
      #tracked: false
      #weight: 0.0
      #width: null
      #height: null
      #depth: null
      #taxCategory: Proxies\__CG__\App\Entity\Taxation\TaxCategory {#8135 …}
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#8297 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#8294 …}
      -apiLastModifiedAt: DateTime @1757714400 {#8102
        date: 2025-09-13 00:00:00.0 Europe/Paris (+02:00)
      }
      -publishedAt: null
      -isbn: "978-1-5044-8426-8"
      -ean: "9781504484268"
      -numberOfUsers: 1
      -physicalProduct: false
      -downloadableImmediately: false
      -downloadable: true
      -drmViewerUrl: null
      -sellable: true
      -documents: Doctrine\ORM\PersistentCollection {#8131 …}
      -drmTokens: Doctrine\ORM\PersistentCollection {#8123 …}
      -enabledForSubscribers: false
      -currentAreaContext: null
    }
    #productName: null
    #variantName: null
  }
}