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.16ms |
Render calls
| sylius_shop:product:add_to_cart_form | Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent | 54.0 MiB | 3.16 ms | |
|---|---|---|---|---|
| Input props | [ "product" => App\Entity\Product\Product {#3712 #id: 83 #code: "01108309M" #attributes: Doctrine\ORM\PersistentCollection {#3923 …} #variants: Doctrine\ORM\PersistentCollection {#3987 …} #options: Doctrine\ORM\PersistentCollection {#4021 …} #associations: Doctrine\ORM\PersistentCollection {#4016 …} #createdAt: DateTime @1614079964 {#3749 : 2021-02-23 11:32:44.0 UTC (+00:00) } #updatedAt: DateTime @1750859770 {#3674 : 2025-06-25 13:56:10.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: 83 #name: "Médaille Grade Argent - 20 ans" #slug: "medaille-rdc-bronze-20-ans" #description: """ <p>Médaille Régionale, Départementale et Communale - Grade 20 ans</p>\r\n \r\n <p>Gravure facultative : initiale du prénom + nom + année de promotion</p>\r\n \r\n """ #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 {#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 {#10707 +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 {#10714 …} #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10718 …} #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType" -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10720 …} -formView: Symfony\Component\Form\FormView {#10757 …} -form: Symfony\Component\Form\Form {#10974 …} +formName: "sylius_shop_add_to_cart" +formValues: [ "cartItem" => [ "quantity" => "1" ] "customer_options" => [ "lastname" => "" "firstname" => "" "year" => "" ] "_token" => "955fdd8bd6.iSJren0uqputdYC3HP7-C9s3mCVayCFUggyC9qZ_NMw.204ESUp52P3yR83ha8qscrp7rxNquncG83qywPwTZo7hclJDCk_eyNcj7w" ] +isValidated: true +validatedFields: [] -shouldAutoSubmitForm: true +hookableMetadata: null +product: App\Entity\Product\Product {#3712 #id: 83 #code: "01108309M" #attributes: Doctrine\ORM\PersistentCollection {#3923 …} #variants: Doctrine\ORM\PersistentCollection {#3987 …} #options: Doctrine\ORM\PersistentCollection {#4021 …} #associations: Doctrine\ORM\PersistentCollection {#4016 …} #createdAt: DateTime @1614079964 {#3749 : 2021-02-23 11:32:44.0 UTC (+00:00) } #updatedAt: DateTime @1750859770 {#3674 : 2025-06-25 13:56:10.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: 83 #name: "Médaille Grade Argent - 20 ans" #slug: "medaille-rdc-bronze-20-ans" #description: """ <p>Médaille Régionale, Départementale et Communale - Grade 20 ans</p>\r\n \r\n <p>Gravure facultative : initiale du prénom + nom + année de promotion</p>\r\n \r\n """ #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 {#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 {#10309 …} +template: "@SyliusShop/Product/Show/_addToCart.html.twig" } |
|||