Components

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

Render calls

sylius_shop:product:add_to_cart_form Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent 50.0 MiB 2.33 ms
Input props
[
  "product" => App\Entity\Product\Product {#3712
    #id: 60
    #code: "mairie_pc"
    #attributes: Doctrine\ORM\PersistentCollection {#3903 …}
    #variants: Doctrine\ORM\PersistentCollection {#3967 …}
    #options: Doctrine\ORM\PersistentCollection {#4001 …}
    #associations: Doctrine\ORM\PersistentCollection {#3996 …}
    #createdAt: DateTime @1612776507 {#3749
      date: 2021-02-08 09:28:27.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1612776507 {#3674
      date: 2021-02-08 09:28:27.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4012 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4005
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3712}
        #id: 60
        #name: "Porte-Clés à personnaliser"
        #slug: "porte-cles-personnalisable"
        #description: """
          <ul>\r\n
          \t<li><strong>Porte-cl&eacute; &agrave; personnaliser (nom de la mairie ou logo)&nbsp; </strong> en Verre Optique grav&eacute;</li>\r\n
          \t<li>Lumineux</li>\r\n
          \t<li>Dimensions&nbsp;: 3 x 2 x 1.5 cm &ndash; poids&nbsp;: 70 g</li>\r\n
          \t<li>Personnalisation&nbsp;: Gravure Laser ou Marquage Couleur <em>(fichier &agrave; fournir sous format ai ou eps)</em></li>\r\n
          \t<li>Conditionn&eacute; dans une bo&icirc;te cadeau</li>\r\n
          </ul>\r\n
          \r\n
          <p>Le prix indiqu&eacute; comprend la gravure laser.</p>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p><em><strong>Article vendu par lot de 25 portes-cl&eacute;s </strong>(nous consulter pour des quantit&eacute;s sup&eacute;rieures)</em></p>
          """
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3719 …}
    #channels: Doctrine\ORM\PersistentCollection {#3855 …}
    #mainTaxon: null
    #reviews: Doctrine\ORM\PersistentCollection {#3796 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3847 …}
    #customerOptionGroup: null
  }
  "template" => "@SyliusShop/Product/Show/_addToCart.html.twig"
]
Attributes
[]
Component
Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent {#10696
  +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 {#10703 …}
  #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10707 …}
  #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType"
  -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10709 …}
  -formView: Symfony\Component\Form\FormView {#10746 …}
  -form: Symfony\Component\Form\Form {#10872 …}
  +formName: "sylius_shop_add_to_cart"
  +formValues: [
    "cartItem" => [
      "quantity" => "1"
    ]
    "_token" => "23332a8632f09179a3ab4df2c.eGJWCGvP4e7ClgnZb2jNHkph3B8kHxGeQ-Pm8yg8xxQ.Kg45O1yYk4idpESPGFyfZyst6ykUbUfMMpXWxXJQlVYQMm8xHK6VvbjAZg"
  ]
  +isValidated: true
  +validatedFields: []
  -shouldAutoSubmitForm: true
  +hookableMetadata: null
  +product: App\Entity\Product\Product {#3712
    #id: 60
    #code: "mairie_pc"
    #attributes: Doctrine\ORM\PersistentCollection {#3903 …}
    #variants: Doctrine\ORM\PersistentCollection {#3967 …}
    #options: Doctrine\ORM\PersistentCollection {#4001 …}
    #associations: Doctrine\ORM\PersistentCollection {#3996 …}
    #createdAt: DateTime @1612776507 {#3749
      date: 2021-02-08 09:28:27.0 UTC (+00:00)
    }
    #updatedAt: DateTime @1612776507 {#3674
      date: 2021-02-08 09:28:27.0 UTC (+00:00)
    }
    #enabled: true
    #translations: Doctrine\ORM\PersistentCollection {#4012 …}
    #translationsCache: [
      "fr_FR" => App\Entity\Product\ProductTranslation {#4005
        #locale: "fr_FR"
        #translatable: App\Entity\Product\Product {#3712}
        #id: 60
        #name: "Porte-Clés à personnaliser"
        #slug: "porte-cles-personnalisable"
        #description: """
          <ul>\r\n
          \t<li><strong>Porte-cl&eacute; &agrave; personnaliser (nom de la mairie ou logo)&nbsp; </strong> en Verre Optique grav&eacute;</li>\r\n
          \t<li>Lumineux</li>\r\n
          \t<li>Dimensions&nbsp;: 3 x 2 x 1.5 cm &ndash; poids&nbsp;: 70 g</li>\r\n
          \t<li>Personnalisation&nbsp;: Gravure Laser ou Marquage Couleur <em>(fichier &agrave; fournir sous format ai ou eps)</em></li>\r\n
          \t<li>Conditionn&eacute; dans une bo&icirc;te cadeau</li>\r\n
          </ul>\r\n
          \r\n
          <p>Le prix indiqu&eacute; comprend la gravure laser.</p>\r\n
          \r\n
          <p>&nbsp;</p>\r\n
          \r\n
          <p><em><strong>Article vendu par lot de 25 portes-cl&eacute;s </strong>(nous consulter pour des quantit&eacute;s sup&eacute;rieures)</em></p>
          """
        #metaKeywords: null
        #metaDescription: null
        #shortDescription: null
      }
    ]
    #currentLocale: "fr_FR"
    #currentTranslation: null
    #fallbackLocale: "fr_FR"
    #variantSelectionMethod: "choice"
    #productTaxons: Doctrine\ORM\PersistentCollection {#3719 …}
    #channels: Doctrine\ORM\PersistentCollection {#3855 …}
    #mainTaxon: null
    #reviews: Doctrine\ORM\PersistentCollection {#3796 …}
    #averageRating: 0.0
    #images: Doctrine\ORM\PersistentCollection {#3847 …}
    #customerOptionGroup: null
  }
  #productRepository: Sylius\Bundle\CoreBundle\Doctrine\ORM\ProductRepository {#2895 …}
  +variant: null
  #productVariantRepository: App\Repository\ProductVariantRepository {#10295 …}
  +template: "@SyliusShop/Product/Show/_addToCart.html.twig"
}