Components
1
Twig Components
1
Render Count
2
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 | 2.16ms |
Render calls
| sylius_shop:product:add_to_cart_form | Sylius\Bundle\ShopBundle\Twig\Component\Product\AddToCartFormComponent | 54.0 MiB | 2.16 ms | |
|---|---|---|---|---|
| Input props | [ "product" => App\Entity\Product\Product {#3748 #id: 74 #code: "mairie_stylo" #attributes: Doctrine\ORM\PersistentCollection {#3917 …} #variants: Doctrine\ORM\PersistentCollection {#3981 …} #options: Doctrine\ORM\PersistentCollection {#4015 …} #associations: Doctrine\ORM\PersistentCollection {#4010 …} #createdAt: DateTime @1613984581 {#3678 : 2021-02-22 09:03:01.0 UTC (+00:00) } #updatedAt: DateTime @1613984581 {#3752 : 2021-02-22 09:03:01.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: 74 #name: "Stylo personnalisable" #slug: "stylo-personnalisable" #description: """ <ul>\r\n \t<li>Stylo en métal - Coloris au choix : Acier, Noir, Bleu, Bordeaux</li>\r\n \t<li>Taille du point : 1.0 mm - Couleur d'encre : Noir, Bleu</li>\r\n \t<li>Dimension d’impression : 4,76 cm Largeur x 0,55 cm Hauteur</li>\r\n </ul>\r\n \r\n <p>Personnalisation :</p>\r\n \r\n <ul>\r\n \t<li>au laser coloris argent (<em>fournir un fichier sous format ai ou eps)</em></li>\r\n \t<li>maximum 2 lignes de 37 caractères chacune</li>\r\n </ul>\r\n \r\n <p>Le prix indiqué comprend le marquage.</p>\r\n \r\n <p> </p>\r\n \r\n <p><em><strong>Prix Unitaire HT - Article vendu avec boite de présentation Prestige par lot de 50 stylos </strong>(nous consulter pour des quantités supérieures)</em></p> """ #metaKeywords: "mairie stylo" #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 {#10672 +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 {#10679 …} #cartItemFactory: Sylius\Component\Core\Factory\CartItemFactory {#10683 …} #formClass: "Sylius\Bundle\ShopBundle\Form\Type\AddToCartType" -liveResponder: Symfony\UX\LiveComponent\LiveResponder {#10685 …} -formView: Symfony\Component\Form\FormView {#10723 …} -form: Symfony\Component\Form\Form {#10848 …} +formName: "sylius_shop_add_to_cart" +formValues: [ "cartItem" => [ "quantity" => "1" ] "_token" => "245ca1e47c5d8.zEW5Cm0CZLoRKTGp4yv96cB90-mcQ_R-JbDMddo-5pY.uArmQw5aI_BdQHzPtmLKmo0X4JvPKrocQOOKTZ5n1aeHMfNIL3oJ8iJHcA" ] +isValidated: true +validatedFields: [] -shouldAutoSubmitForm: true +hookableMetadata: null +product: App\Entity\Product\Product {#3748 #id: 74 #code: "mairie_stylo" #attributes: Doctrine\ORM\PersistentCollection {#3917 …} #variants: Doctrine\ORM\PersistentCollection {#3981 …} #options: Doctrine\ORM\PersistentCollection {#4015 …} #associations: Doctrine\ORM\PersistentCollection {#4010 …} #createdAt: DateTime @1613984581 {#3678 : 2021-02-22 09:03:01.0 UTC (+00:00) } #updatedAt: DateTime @1613984581 {#3752 : 2021-02-22 09:03:01.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: 74 #name: "Stylo personnalisable" #slug: "stylo-personnalisable" #description: """ <ul>\r\n \t<li>Stylo en métal - Coloris au choix : Acier, Noir, Bleu, Bordeaux</li>\r\n \t<li>Taille du point : 1.0 mm - Couleur d'encre : Noir, Bleu</li>\r\n \t<li>Dimension d’impression : 4,76 cm Largeur x 0,55 cm Hauteur</li>\r\n </ul>\r\n \r\n <p>Personnalisation :</p>\r\n \r\n <ul>\r\n \t<li>au laser coloris argent (<em>fournir un fichier sous format ai ou eps)</em></li>\r\n \t<li>maximum 2 lignes de 37 caractères chacune</li>\r\n </ul>\r\n \r\n <p>Le prix indiqué comprend le marquage.</p>\r\n \r\n <p> </p>\r\n \r\n <p><em><strong>Prix Unitaire HT - Article vendu avec boite de présentation Prestige par lot de 50 stylos </strong>(nous consulter pour des quantités supérieures)</em></p> """ #metaKeywords: "mairie stylo" #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 {#10588 …} +template: "@SyliusShop/Product/Show/_addToCart.html.twig" } |
|||