Components

1 Twig Components
1 Render Count
3 ms Render Time
54.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
sylius_shop:product:add_to_cart_form
"Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent"
@SyliusUi/components/default.html.twig
1 3.22ms

Render calls

sylius_shop:product:add_to_cart_form Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent 54.0 MiB 3.22 ms
Input props
[
  "product" => App\Entity\Product\Product {#3748
    #id: 84
    #code: "01108316M"
    #attributes: Doctrine\ORM\PersistentCollection {#3927 …}
    #variants: Doctrine\ORM\PersistentCollection {#3991 …}
    #options: Doctrine\ORM\PersistentCollection {#4025 …}
    #associations: Doctrine\ORM\PersistentCollection {#4020 …}
    #createdAt: DateTime @1614080074 {#3678
      date: 2021-02-23 11:34:34.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1750860025 {#3752
      date: 2025-06-25 14:00:25.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4036 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4029
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3748}
        #id: 84
        #name: "Médaille Grade Vermeil - 30 ans"
        #slug: "medaille-rdc-bronze-30-ans"
        #description: """
          <p>M&eacute;daille R&eacute;gionale, D&eacute;partementale et Communale - Grade 30 ans</p>\r\n
          \r\n
          <p>Gravure facultative : initiale du pr&eacute;nom + nom + ann&eacute;e de promotion</p>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p><strong><em>Prix unitaire HT</em></strong></p>
          """
        #metaKeywords: "médaille régionale départementale communale argent vermeil or"
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …}
    #channels: Doctrine\ORM\PersistentCollection {#3879 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3845 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3871 …}
    #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …}
  }
  "template" => "@SyliusShop/Product/Show/_addToCart.html.twig"
]
Attributes
[]
Component
Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent {#10683
  +routeName: "sylius_shop_cart_summary"
  +routeParameters: []
  #formFactory: Symfony\Component\Form\FormFactory {#3604 …}
  #manager: Doctrine\ORM\EntityManager {#1482 …}
  #router: Sylius\Bundle\ShopBundle\Router\LocaleStrippingRouter {#1229 …}
  #requestStack: Symfony\Component\HttpFoundation\RequestStack {#337 …}
  #eventDispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#822 …}
  #cartContext: Sylius\Component\Order\Context\CompositeCartContext {#1086 …}
  #addToCartCommandFactory: Sylius\Bundle\OrderBundle\Factory\AddToCartCommandFactory {#10690 …}
  #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10694 …}
  #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
  -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10696 …}
  -formView: Symfony\Component\Form\FormView {#10734 …}
  -form: Symfony\Component\Form\Form {#10939 …}
  +formName: "sylius_shop_add_to_cart"
  +formValues: [
    "cartItem" => [
      "quantity" => "1"
    ]
    "customer_options" => [
      "lastname" => ""
      "firstname" => ""
      "year" => ""
    ]
    "_token" => "3782d3912d3aaa31b6.8VCZMH4Qz9NRqfoBE03PGANjWH3iACgKpGqwY3VN80c.hR_GeR1IiJkdwLdnRgT4a04Jaw-xaWZowTn2WzEUwHa6JNNyPGiim2LHuw"
  ]
  +isValidated: true
  +validatedFields: []
  -shouldAutoSubmitForm: true
  +hookableMetadata: null
  +product: App\Entity\Product\Product {#3748
    #id: 84
    #code: "01108316M"
    #attributes: Doctrine\ORM\PersistentCollection {#3927 …}
    #variants: Doctrine\ORM\PersistentCollection {#3991 …}
    #options: Doctrine\ORM\PersistentCollection {#4025 …}
    #associations: Doctrine\ORM\PersistentCollection {#4020 …}
    #createdAt: DateTime @1614080074 {#3678
      date: 2021-02-23 11:34:34.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1750860025 {#3752
      date: 2025-06-25 14:00:25.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4036 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4029
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3748}
        #id: 84
        #name: "Médaille Grade Vermeil - 30 ans"
        #slug: "medaille-rdc-bronze-30-ans"
        #description: """
          <p>M&eacute;daille R&eacute;gionale, D&eacute;partementale et Communale - Grade 30 ans</p>\r\n
          \r\n
          <p>Gravure facultative : initiale du pr&eacute;nom + nom + ann&eacute;e de promotion</p>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p><strong><em>Prix unitaire HT</em></strong></p>
          """
        #metaKeywords: "médaille régionale départementale communale argent vermeil or"
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3813 …}
    #channels: Doctrine\ORM\PersistentCollection {#3879 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3845 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3871 …}
    #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3803 …}
  }
  #productRepository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository {#2875 …}
  +variant: null
  #productVariantRepository: App\Repository\ProductVariantRepository {#10598 …}
  +template: "@SyliusShop/Product/Show/_addToCart.html.twig"
}