Components
1
Twig Components
1
Render Count
4
ms
Render Time
42.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.55ms |
Render calls
| sylius_shop:product:add_to_cart_form | Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent | 42.0 MiB | 3.55 ms | |
|---|---|---|---|---|
| Input props | [ "product" => App\Entity\Product\Product {#3712 #id: 7 #code: "departementale-20ans" #attributes: Doctrine\ORM\PersistentCollection {#3923 …} #variants: Doctrine\ORM\PersistentCollection {#3987 …} #options: Doctrine\ORM\PersistentCollection {#4021 …} #associations: Doctrine\ORM\PersistentCollection {#4016 …} #createdAt: DateTime @1606921867 {#3749 : 2020-12-02 15:11:07.0 UTC (+00:00) } #updatedAt: DateTime @1750767934 {#3674 : 2025-06-24 12:25:34.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: 7 #name: "Médaille d’honneur Argent - 20 ans" #slug: "medaille-dhonneur-regionale-departementale-et-communale-argent-20-ans" #description: """ <p>Médaille d’honneur Régionale, Départementale et Communale de la Monnaie de Paris - Grade 20 ans - Argent massif 950‰</p>\r\n \r\n <p>Le prix indiqué comprend la gravure</p>\r\n \r\n <p>Gravure, merci d'indiquer : initiale du prénom + nom + année de promotion</p>\r\n \r\n """ #metaKeywords: "médaille honneur régionale départementale communale" #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" => "ab8a5f40eb8544989c117cb.dnB8Yq1aXtfMCWY3kdTUOaWrbBv6ybg-4aLcM4aegyQ.JBwTUZoNLLGTOyth5uCGQMTnWy3Ku-5skNTsBdzy0WYeIEVb2jsqhLZfCQ" ] +isValidated: true +validatedFields: [] -shouldAutoSubmitForm: true +hookableMetadata: null +product: App\Entity\Product\Product {#3712 #id: 7 #code: "departementale-20ans" #attributes: Doctrine\ORM\PersistentCollection {#3923 …} #variants: Doctrine\ORM\PersistentCollection {#3987 …} #options: Doctrine\ORM\PersistentCollection {#4021 …} #associations: Doctrine\ORM\PersistentCollection {#4016 …} #createdAt: DateTime @1606921867 {#3749 : 2020-12-02 15:11:07.0 UTC (+00:00) } #updatedAt: DateTime @1750767934 {#3674 : 2025-06-24 12:25:34.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: 7 #name: "Médaille d’honneur Argent - 20 ans" #slug: "medaille-dhonneur-regionale-departementale-et-communale-argent-20-ans" #description: """ <p>Médaille d’honneur Régionale, Départementale et Communale de la Monnaie de Paris - Grade 20 ans - Argent massif 950‰</p>\r\n \r\n <p>Le prix indiqué comprend la gravure</p>\r\n \r\n <p>Gravure, merci d'indiquer : initiale du prénom + nom + année de promotion</p>\r\n \r\n """ #metaKeywords: "médaille honneur régionale départementale communale" #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" } |
|||