Components

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

Render calls

sylius_shop:product:add_to_cart_form Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent 48.0 MiB 2.34 ms
Input props
[
  "product" => App\Entity\Product\Product {#3748
    #id: 75
    #code: "mairie_medaille_perso"
    #attributes: Doctrine\ORM\PersistentCollection {#3917 …}
    #variants: Doctrine\ORM\PersistentCollection {#3981 …}
    #options: Doctrine\ORM\PersistentCollection {#4015 …}
    #associations: Doctrine\ORM\PersistentCollection {#4010 …}
    #createdAt: DateTime @1613987155 {#3678
      date: 2021-02-22 09:45:55.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1613987155 {#3752
      date: 2021-02-22 09:45:55.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4026 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4019
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3748}
        #id: 75
        #name: "Médaille personnalisable dans écrin"
        #slug: "medaille-personnalisable-dans-ecrin"
        #description: """
          <p>M&eacute;daille en zamac finition bronze, argent ou dor&eacute; - Diam&egrave;tre&nbsp;: 60 mm</p>\r\n
          \r\n
          <p>M&eacute;daille livr&eacute;e dans un &eacute;crin en simili cuir</p>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p>Personnalisable par gravure laser</p>\r\n
          \r\n
          <ul>\r\n
          \t<li>Avers&nbsp;: Logo (fournir <strong>un fichier vectoris&eacute; </strong>par mail)</li>\r\n
          \t<li>Revers&nbsp;: Texte grav&eacute; centr&eacute; ou exergue</li>\r\n
          </ul>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p><strong><em>Prix unitaire HT (hors gravure)</em></strong></p>
          """
        #metaKeywords: "mairie medaille"
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3815 …}
    #channels: Doctrine\ORM\PersistentCollection {#3869 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3829 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3861 …}
    #customerOptionGroup: null
  }
  "template" => "@SyliusShop/Product/Show/_addToCart.html.twig"
]
Attributes
[]
Component
Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent {#10678
  +routeName: "sylius_shop_cart_summary"
  +routeParameters: []
  #formFactory: Symfony\Component\Form\FormFactory {#3604 …}
  #manager: Doctrine\ORM\EntityManager {#1482 …}
  #router: Sylius\Bundle\ShopBundle\Router\LocaleStrippingRouter {#1229 …}
  #requestStack: Symfony\Component\HttpFoundation\RequestStack {#337 …}
  #eventDispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#822 …}
  #cartContext: Sylius\Component\Order\Context\CompositeCartContext {#1086 …}
  #addToCartCommandFactory: Sylius\Bundle\OrderBundle\Factory\AddToCartCommandFactory {#10685 …}
  #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10689 …}
  #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
  -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10691 …}
  -formView: Symfony\Component\Form\FormView {#10729 …}
  -form: Symfony\Component\Form\Form {#10854 …}
  +formName: "sylius_shop_add_to_cart"
  +formValues: [
    "cartItem" => [
      "quantity" => "1"
    ]
    "_token" => "daddb.hC_fyTKbCdY7e3IO9Njy03oWUeVyGM2JZNPBBukssFA.8GCAgFHDTpx3Ej9ooZHFoDd8YpchcYPrAYCHPq11g2HPW5WLcONknggVMw"
  ]
  +isValidated: true
  +validatedFields: []
  -shouldAutoSubmitForm: true
  +hookableMetadata: null
  +product: App\Entity\Product\Product {#3748
    #id: 75
    #code: "mairie_medaille_perso"
    #attributes: Doctrine\ORM\PersistentCollection {#3917 …}
    #variants: Doctrine\ORM\PersistentCollection {#3981 …}
    #options: Doctrine\ORM\PersistentCollection {#4015 …}
    #associations: Doctrine\ORM\PersistentCollection {#4010 …}
    #createdAt: DateTime @1613987155 {#3678
      date: 2021-02-22 09:45:55.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1613987155 {#3752
      date: 2021-02-22 09:45:55.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4026 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4019
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3748}
        #id: 75
        #name: "Médaille personnalisable dans écrin"
        #slug: "medaille-personnalisable-dans-ecrin"
        #description: """
          <p>M&eacute;daille en zamac finition bronze, argent ou dor&eacute; - Diam&egrave;tre&nbsp;: 60 mm</p>\r\n
          \r\n
          <p>M&eacute;daille livr&eacute;e dans un &eacute;crin en simili cuir</p>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p>Personnalisable par gravure laser</p>\r\n
          \r\n
          <ul>\r\n
          \t<li>Avers&nbsp;: Logo (fournir <strong>un fichier vectoris&eacute; </strong>par mail)</li>\r\n
          \t<li>Revers&nbsp;: Texte grav&eacute; centr&eacute; ou exergue</li>\r\n
          </ul>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p><strong><em>Prix unitaire HT (hors gravure)</em></strong></p>
          """
        #metaKeywords: "mairie medaille"
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3815 …}
    #channels: Doctrine\ORM\PersistentCollection {#3869 …}
    #mainTaxon: Proxies\__CG__\App\Entity\Taxonomy\Taxon {#3754 …}
    #reviews: Doctrine\ORM\PersistentCollection {#3829 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3861 …}
    #customerOptionGroup: null
  }
  #productRepository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository {#2875 …}
  +variant: null
  #productVariantRepository: App\Repository\ProductVariantRepository {#10617 …}
  +template: "@SyliusShop/Product/Show/_addToCart.html.twig"
}