Components

1 Twig Components
1 Render Count
3 ms Render Time
30.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.21ms

Render calls

sylius_shop:product:add_to_cart_form Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent 30.0 MiB 3.21 ms
Input props
[
  "product" => App\Entity\Product\Product {#3712
    #id: 8
    #code: "departementale-30ans"
    #attributes: Doctrine\ORM\PersistentCollection {#3923 …}
    #variants: Doctrine\ORM\PersistentCollection {#3987 …}
    #options: Doctrine\ORM\PersistentCollection {#4021 …}
    #associations: Doctrine\ORM\PersistentCollection {#4016 …}
    #createdAt: DateTime @1606922239 {#3749
      date: 2020-12-02 15:17:19.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1750768521 {#3674
      date: 2025-06-24 12:35:21.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4032 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4025
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3712}
        #id: 8
        #name: "Médaille d’honneur Vermeil - 30 ans"
        #slug: "medaille-dhonneur-regionale-departementale-et-communale-vermeil-30-ans"
        #description: """
          <p>M&eacute;daille d&rsquo;honneur R&eacute;gionale, D&eacute;partementale et Communale de la Monnaie de Paris - Grade 30 ans - Argent massif dor&eacute; (Argent 950&permil;)</p>\r\n
          \r\n
          <p>Le prix indiqu&eacute; comprend la gravure</p>\r\n
          \r\n
          <p>Gravure, merci d&#39;indiquer :&nbsp;initiale du pr&eacute;nom + nom + ann&eacute;e de promotion</p>\r\n
          \r\n
          """
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3809 …}
    #channels: Doctrine\ORM\PersistentCollection {#3875 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3750 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3841 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3867 …}
    #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3799 …}
  }
  "template" => "@SyliusShop/Product/Show/_addToCart.html.twig"
]
Attributes
[]
Component
Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent {#10725
  +routeName: "sylius_shop_cart_summary"
  +routeParameters: []
  #formFactory: Symfony\Component\Form\FormFactory {#3624 …}
  #manager: Doctrine\ORM\EntityManager {#1496 …}
  #router: Sylius\Bundle\ShopBundle\Router\LocaleStrippingRouter {#1243 …}
  #requestStack: Symfony\Component\HttpFoundation\RequestStack {#340 …}
  #eventDispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#823 …}
  #cartContext: Sylius\Component\Order\Context\CompositeCartContext {#1091 …}
  #addToCartCommandFactory: Sylius\Bundle\OrderBundle\Factory\AddToCartCommandFactory {#10732 …}
  #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10736 …}
  #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
  -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10738 …}
  -formView: Symfony\Component\Form\FormView {#10775 …}
  -form: Symfony\Component\Form\Form {#10992 …}
  +formName: "sylius_shop_add_to_cart"
  +formValues: [
    "cartItem" => [
      "quantity" => "1"
    ]
    "customer_options" => [
      "lastname" => ""
      "firstname" => ""
      "year" => ""
    ]
    "_token" => "4f4d73e6d9f61c5c5f6d4ec1fe57841f.fyX7HTeE4i5DzTTqUGCiaRtmW8eLyNwnUzmMhckdyQI.LUmULgDTkEgc_3m8J1TwEHoqbPG7uop1Ik-8s5Nxm0AXdcIkQOWWfTmbWw"
  ]
  +isValidated: true
  +validatedFields: []
  -shouldAutoSubmitForm: true
  +hookableMetadata: null
  +product: App\Entity\Product\Product {#3712
    #id: 8
    #code: "departementale-30ans"
    #attributes: Doctrine\ORM\PersistentCollection {#3923 …}
    #variants: Doctrine\ORM\PersistentCollection {#3987 …}
    #options: Doctrine\ORM\PersistentCollection {#4021 …}
    #associations: Doctrine\ORM\PersistentCollection {#4016 …}
    #createdAt: DateTime @1606922239 {#3749
      date: 2020-12-02 15:17:19.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1750768521 {#3674
      date: 2025-06-24 12:35:21.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4032 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4025
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3712}
        #id: 8
        #name: "Médaille d’honneur Vermeil - 30 ans"
        #slug: "medaille-dhonneur-regionale-departementale-et-communale-vermeil-30-ans"
        #description: """
          <p>M&eacute;daille d&rsquo;honneur R&eacute;gionale, D&eacute;partementale et Communale de la Monnaie de Paris - Grade 30 ans - Argent massif dor&eacute; (Argent 950&permil;)</p>\r\n
          \r\n
          <p>Le prix indiqu&eacute; comprend la gravure</p>\r\n
          \r\n
          <p>Gravure, merci d&#39;indiquer :&nbsp;initiale du pr&eacute;nom + nom + ann&eacute;e de promotion</p>\r\n
          \r\n
          """
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3809 …}
    #channels: Doctrine\ORM\PersistentCollection {#3875 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3750 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3841 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3867 …}
    #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3799 …}
  }
  #productRepository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository {#2895 …}
  +variant: null
  #productVariantRepository: App\Repository\ProductVariantRepository {#10666 …}
  +template: "@SyliusShop/Product/Show/_addToCart.html.twig"
}