Components

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

Render calls

sylius_shop:product:add_to_cart_form Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent 14.0 MiB 3.39 ms
Input props
[
  "product" => App\Entity\Product\Product {#3712
    #id: 95
    #code: "01108316"
    #attributes: Doctrine\ORM\PersistentCollection {#3913 …}
    #variants: Doctrine\ORM\PersistentCollection {#3977 …}
    #options: Doctrine\ORM\PersistentCollection {#4011 …}
    #associations: Doctrine\ORM\PersistentCollection {#4006 …}
    #createdAt: DateTime @1614093522 {#3749
      date: 2021-02-23 15:18:42.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1734362266 {#3674
      date: 2024-12-16 15:17:46.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: 95
        #name: "Médaille d’honneur en bronze - 30 ans"
        #slug: "medaille-dhonneur-bronze-rdc-30-ans"
        #description: """
          <p>M&eacute;daille d&rsquo;honneur R&eacute;gionale, D&eacute;partementale et Communale en bronze finition dor&eacute; - Grade 30 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 {#3675 …}
    #channels: Doctrine\ORM\PersistentCollection {#3865 …}
    #mainTaxon: null
    #reviews: Doctrine\ORM\PersistentCollection {#3825 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3857 …}
    #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3702 …}
  }
  "template" => "@SyliusShop/Product/Show/_addToCart.html.twig"
]
Attributes
[]
Component
Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent {#10702
  +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 {#10709 …}
  #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10713 …}
  #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
  -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10715 …}
  -formView: Symfony\Component\Form\FormView {#10752 …}
  -form: Symfony\Component\Form\Form {#10969 …}
  +formName: "sylius_shop_add_to_cart"
  +formValues: [
    "cartItem" => [
      "quantity" => "1"
    ]
    "customer_options" => [
      "lastname" => ""
      "firstname" => ""
      "year" => ""
    ]
    "_token" => "9ec2a73021b04fc2adb7.ExQXSGXu1Pi4KTJKTPPTAbExcY6uJXgcdOsuM3Nv3WM.QXh4e1K5pp7nG38cO8eBeNB9RrieVy5OBZ0eBSkDjyF7RC5xEo-gq8J_XQ"
  ]
  +isValidated: true
  +validatedFields: []
  -shouldAutoSubmitForm: true
  +hookableMetadata: null
  +product: App\Entity\Product\Product {#3712
    #id: 95
    #code: "01108316"
    #attributes: Doctrine\ORM\PersistentCollection {#3913 …}
    #variants: Doctrine\ORM\PersistentCollection {#3977 …}
    #options: Doctrine\ORM\PersistentCollection {#4011 …}
    #associations: Doctrine\ORM\PersistentCollection {#4006 …}
    #createdAt: DateTime @1614093522 {#3749
      date: 2021-02-23 15:18:42.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1734362266 {#3674
      date: 2024-12-16 15:17:46.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: 95
        #name: "Médaille d’honneur en bronze - 30 ans"
        #slug: "medaille-dhonneur-bronze-rdc-30-ans"
        #description: """
          <p>M&eacute;daille d&rsquo;honneur R&eacute;gionale, D&eacute;partementale et Communale en bronze finition dor&eacute; - Grade 30 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 {#3675 …}
    #channels: Doctrine\ORM\PersistentCollection {#3865 …}
    #mainTaxon: null
    #reviews: Doctrine\ORM\PersistentCollection {#3825 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3857 …}
    #customerOptionGroup: Proxies\__CG__\App\Entity\CustomerOption\CustomerOptionGroup {#3702 …}
  }
  #productRepository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository {#2895 …}
  +variant: null
  #productVariantRepository: App\Repository\ProductVariantRepository {#10304 …}
  +template: "@SyliusShop/Product/Show/_addToCart.html.twig"
}