Components

1 Twig Components
1 Render Count
2 ms Render Time
50.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 2.33ms

Render calls

sylius_shop:product:add_to_cart_form Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent 50.0 MiB 2.33 ms
Input props
[
  "product" => App\Entity\Product\Product {#3712
    #id: 122
    #code: "01000348"
    #attributes: Doctrine\ORM\PersistentCollection {#3913 …}
    #variants: Doctrine\ORM\PersistentCollection {#3977 …}
    #options: Doctrine\ORM\PersistentCollection {#4011 …}
    #associations: Doctrine\ORM\PersistentCollection {#4006 …}
    #createdAt: DateTime @1749824503 {#3749
      date: 2025-06-13 14:21:43.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1791289756 {#3674
      date: 2026-10-06 12:29:16.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4022 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4015
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3712}
        #id: 122
        #name: "Défense Nationale Or"
        #slug: "defense-nationale-or"
        #description: "<p>Médaille de Défense Nationale de la Monnaie de Paris - Grade Or<br>Bronze doré avec ruban\u{A0}jaune, rouge et bleu</p>\n"
        #metaKeywords: "médaille defense nationale bronze argent or"
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3811 …}
    #channels: Doctrine\ORM\PersistentCollection {#3865 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3750 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3825 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3857 …}
    #customerOptionGroup: null
  }
  "template" => "@SyliusShop/Product/Show/_addToCart.html.twig"
]
Attributes
[]
Component
Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent {#10700
  +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 {#10707 …}
  #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10711 …}
  #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
  -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10713 …}
  -formView: Symfony\Component\Form\FormView {#10750 …}
  -form: Symfony\Component\Form\Form {#10876 …}
  +formName: "sylius_shop_add_to_cart"
  +formValues: [
    "cartItem" => [
      "quantity" => "1"
    ]
    "_token" => "369a8a49333f40d7dcfe22f.trQZUVcFSvqgFzra2e17WaXSTMQI-JJ4NWbYE-C9J8c.5Nh2YmBSOJz_JXeMrtkpIMSee_I4isQqRBDoJbrRdYXe5CBoIGQ-qdpBVQ"
  ]
  +isValidated: true
  +validatedFields: []
  -shouldAutoSubmitForm: true
  +hookableMetadata: null
  +product: App\Entity\Product\Product {#3712
    #id: 122
    #code: "01000348"
    #attributes: Doctrine\ORM\PersistentCollection {#3913 …}
    #variants: Doctrine\ORM\PersistentCollection {#3977 …}
    #options: Doctrine\ORM\PersistentCollection {#4011 …}
    #associations: Doctrine\ORM\PersistentCollection {#4006 …}
    #createdAt: DateTime @1749824503 {#3749
      date: 2025-06-13 14:21:43.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1791289756 {#3674
      date: 2026-10-06 12:29:16.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4022 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4015
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3712}
        #id: 122
        #name: "Défense Nationale Or"
        #slug: "defense-nationale-or"
        #description: "<p>Médaille de Défense Nationale de la Monnaie de Paris - Grade Or<br>Bronze doré avec ruban\u{A0}jaune, rouge et bleu</p>\n"
        #metaKeywords: "médaille defense nationale bronze argent or"
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3811 …}
    #channels: Doctrine\ORM\PersistentCollection {#3865 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3750 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3825 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3857 …}
    #customerOptionGroup: null
  }
  #productRepository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository {#2895 …}
  +variant: null
  #productVariantRepository: App\Repository\ProductVariantRepository {#10302 …}
  +template: "@SyliusShop/Product/Show/_addToCart.html.twig"
}