Components

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

Render calls

sylius_shop:product:add_to_cart_form Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent 44.0 MiB 3.13 ms
Input props
[
  "product" => App\Entity\Product\Product {#3712
    #id: 94
    #code: "01108309"
    #attributes: Doctrine\ORM\PersistentCollection {#3923 …}
    #variants: Doctrine\ORM\PersistentCollection {#3987 …}
    #options: Doctrine\ORM\PersistentCollection {#4021 …}
    #associations: Doctrine\ORM\PersistentCollection {#4016 …}
    #createdAt: DateTime @1614093119 {#3749
      date: 2021-02-23 15:11:59.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1734362186 {#3674
      date: 2024-12-16 15:16:26.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: 94
        #name: "Médaille d’honneur en bronze - 20 ans"
        #slug: "medaille-dhonneur-bronze-rdc-20-ans"
        #description: """
          <p>M&eacute;daille d&rsquo;honneur R&eacute;gionale, D&eacute;partementale et Communale en bronze finition argent&nbsp;- Grade&nbsp;20 ans</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 {#10713
  +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 {#10720 …}
  #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10724 …}
  #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
  -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10726 …}
  -formView: Symfony\Component\Form\FormView {#10763 …}
  -form: Symfony\Component\Form\Form {#10980 …}
  +formName: "sylius_shop_add_to_cart"
  +formValues: [
    "cartItem" => [
      "quantity" => "1"
    ]
    "customer_options" => [
      "lastname" => ""
      "firstname" => ""
      "year" => ""
    ]
    "_token" => "fcf44b79e1594779e56.Mi8Y-f6fHRKvaCjDGXKMPCKCgl-dCEKGsGNYQq0ZbpY.YEN3ysnIb3TwWmWVbkbeRUPOtWmtehTUwRVodPd1PNRafyHAif5pQdU-Rw"
  ]
  +isValidated: true
  +validatedFields: []
  -shouldAutoSubmitForm: true
  +hookableMetadata: null
  +product: App\Entity\Product\Product {#3712
    #id: 94
    #code: "01108309"
    #attributes: Doctrine\ORM\PersistentCollection {#3923 …}
    #variants: Doctrine\ORM\PersistentCollection {#3987 …}
    #options: Doctrine\ORM\PersistentCollection {#4021 …}
    #associations: Doctrine\ORM\PersistentCollection {#4016 …}
    #createdAt: DateTime @1614093119 {#3749
      date: 2021-02-23 15:11:59.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1734362186 {#3674
      date: 2024-12-16 15:16:26.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: 94
        #name: "Médaille d’honneur en bronze - 20 ans"
        #slug: "medaille-dhonneur-bronze-rdc-20-ans"
        #description: """
          <p>M&eacute;daille d&rsquo;honneur R&eacute;gionale, D&eacute;partementale et Communale en bronze finition argent&nbsp;- Grade&nbsp;20 ans</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 {#9775 …}
  +template: "@SyliusShop/Product/Show/_addToCart.html.twig"
}