Forms

  • sylius_add_to_cart
    • cartItem
    • _token

sylius_add_to_cart

"Sylius\Bundle\CoreBundle\Form\Type\Order\AddToCartType"

Default Data

Property Value
Model Format same as normalized format
Normalized Format
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13311
  -cart: App\Entity\Order\Order {#8662 …}
  -cartItem: App\Entity\Order\OrderItem {#13289
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6930
      -shortname: "03/07/25 - 18H00"
      -synapsCode: null
      #version: 1
      #onHold: 0
      #onHand: 25
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7082 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7072 …}
      #id: 356
      #code: "03-07-25"
      #product: App\Entity\Product\Product {#6298
        #giftCard: false
        -orderweight: 10002
        -homepageweight: 10002
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6336 …}
        #channels: Doctrine\ORM\PersistentCollection {#6438 …}
        #mainTaxon: null
        #reviews: Doctrine\ORM\PersistentCollection {#6923 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6424 …}
        #id: 168
        #code: "afterwork-tunnel"
        #attributes: Doctrine\ORM\PersistentCollection {#6564 …}
        #variants: Doctrine\ORM\PersistentCollection {#6621
          -snapshot: [ …2]
          -owner: App\Entity\Product\Product {#6298}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#66115 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6691 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6770 …}
        #associations: Doctrine\ORM\PersistentCollection {#6730 …}
        #createdAt: DateTime @1749800819 {#6390
          date: 2025-06-13 09:46:59.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1749800819 {#6387
          date: 2025-06-13 09:46:59.0 Europe/Berlin (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6924 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6926
            -dispo_description: null
            #shortDescription: "NOUVEAU ! Rejoignez-nous pour un AfterWork original au cœur du Tunnel de la Collonge. 2 dates de disponibles."
            #id: 168
            #name: "NOUVEAU ! AFTERWORK AU TUNNEL DE LA COLLONGE"
            #slug: "nouveau-afterwork-au-tunnel-de-la-collonge"
            #description: """
              <p><strong>AFTER WORK AU TUNNEL DE LA COLLONGE &ndash; Un moment insolite &amp; gourmand</strong><br />\r\n
              Envie de d&eacute;connecter en fin de journ&eacute;e dans un lieu atypique ? Rejoignez-nous pour un <strong>After Work original</strong> au c&oelig;ur du Tunnel de la Collonge.</p>\r\n
              \r\n
              <p><strong>Au programme (20&euro; TTC par personne)</strong> :<br />\r\n
              <strong>Visite comment&eacute;e</strong> du Tunnel (45 min) &ndash; D&eacute;part &agrave; l&rsquo;heure pile ! Merci d&#39;arriver un peu en avance.<br />\r\n
              <strong>D&eacute;gustation</strong> : 2 fromages affin&eacute;s &amp; 1 verre de vin s&eacute;lection Reniteo<br />\r\n
              <strong>Carte snacking</strong> disponible sur place pour prolonger l&rsquo;exp&eacute;rience ap&eacute;ritive</p>\r\n
              \r\n
              <p><strong>Dates</strong> :</p>\r\n
              \r\n
              <ul>\r\n
              \t<li>\r\n
              \t<p>Jeudi 3 juillet &ndash; de 18h00 &agrave; 19h30</p>\r\n
              \t</li>\r\n
              \t<li>\r\n
              \t<p>Jeudi 10 juillet &ndash; de 18h00 &agrave; 19h30</p>\r\n
              \t</li>\r\n
              </ul>\r\n
              \r\n
              <p>Places limit&eacute;es &agrave; 25 personnes par date.</p>\r\n
              \r\n
              <p><strong>R&eacute;servation obligatoire</strong></p>\r\n
              \r\n
              <p><em>Un minimum de 10 inscriptions est requis par visite. Si ce seuil n&#39;est pas atteint, nous nous r&eacute;servons le droit d&#39;annuler la visite. Dans ce cas, vous serez pr&eacute;venus &agrave; l&#39;avance et aurez le choix entre un remboursement ou la possibilit&eacute; de reporter votre participation &agrave; une autre date.&nbsp;</em></p>\r\n
              \r\n
              <p>Pour toutes questions, contactez Monica: lacollonge@mons-fromagerie.fr</p>
              """
            #metaKeywords: null
            #metaDescription: null
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6298}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7103 …}
      #position: 0
      #createdAt: DateTime @1749801120 {#6935
        date: 2025-06-13 09:52:00.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1749801120 {#6964
        date: 2025-06-13 09:52:00.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7047 …}
      #translationsCache: []
      #currentLocale: "fr"
      #currentTranslation: null
      #fallbackLocale: "fr"
    }
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13319 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13320 …}
    #adjustmentsTotal: 0
  }
}
View Format same as normalized format

Submitted Data

This form was not submitted.

Passed Options

Option Passed Value Resolved Value
data
Sylius\Bundle\OrderBundle\Controller\AddToCartCommand {#13311
  -cart: App\Entity\Order\Order {#8662 …}
  -cartItem: App\Entity\Order\OrderItem {#13289
    -cardSender: null
    -cardRecipientEmail: null
    -cardRecipientName: null
    -cardText: null
    -cardType: null
    #version: 1
    #variant: App\Entity\Product\ProductVariant {#6930
      -shortname: "03/07/25 - 18H00"
      -synapsCode: null
      #version: 1
      #onHold: 0
      #onHand: 25
      #tracked: true
      #weight: null
      #width: null
      #height: null
      #depth: null
      #taxCategory: null
      #shippingCategory: null
      #channelPricings: Doctrine\ORM\PersistentCollection {#7082 …}
      #shippingRequired: true
      #images: Doctrine\ORM\PersistentCollection {#7072 …}
      #id: 356
      #code: "03-07-25"
      #product: App\Entity\Product\Product {#6298
        #giftCard: false
        -orderweight: 10002
        -homepageweight: 10002
        -datedispofrom: null
        -datedispoto: null
        -video: null
        #variantSelectionMethod: "choice"
        #productTaxons: Doctrine\ORM\PersistentCollection {#6336 …}
        #channels: Doctrine\ORM\PersistentCollection {#6438 …}
        #mainTaxon: null
        #reviews: Doctrine\ORM\PersistentCollection {#6923 …}
        #averageRating: 0.0
        #images: Doctrine\ORM\PersistentCollection {#6424 …}
        #id: 168
        #code: "afterwork-tunnel"
        #attributes: Doctrine\ORM\PersistentCollection {#6564 …}
        #variants: Doctrine\ORM\PersistentCollection {#6621
          -snapshot: [ …2]
          -owner: App\Entity\Product\Product {#6298}
          -association: [ …16]
          -em: Doctrine\ORM\EntityManager {#4275 …}
          -backRefFieldName: "product"
          -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#66115 …}
          -isDirty: false
          #collection: Doctrine\Common\Collections\ArrayCollection {#6691 …}
          #initialized: true
        }
        #options: Doctrine\ORM\PersistentCollection {#6770 …}
        #associations: Doctrine\ORM\PersistentCollection {#6730 …}
        #createdAt: DateTime @1749800819 {#6390
          date: 2025-06-13 09:46:59.0 Europe/Berlin (+02:00)
        }
        #updatedAt: DateTime @1749800819 {#6387
          date: 2025-06-13 09:46:59.0 Europe/Berlin (+02:00)
        }
        #enabled: true
        #translations: Doctrine\ORM\PersistentCollection {#6924 …}
        #translationsCache: [
          "fr" => App\Entity\Product\ProductTranslation {#6926
            -dispo_description: null
            #shortDescription: "NOUVEAU ! Rejoignez-nous pour un AfterWork original au cœur du Tunnel de la Collonge. 2 dates de disponibles."
            #id: 168
            #name: "NOUVEAU ! AFTERWORK AU TUNNEL DE LA COLLONGE"
            #slug: "nouveau-afterwork-au-tunnel-de-la-collonge"
            #description: """
              <p><strong>AFTER WORK AU TUNNEL DE LA COLLONGE &ndash; Un moment insolite &amp; gourmand</strong><br />\r\n
              Envie de d&eacute;connecter en fin de journ&eacute;e dans un lieu atypique ? Rejoignez-nous pour un <strong>After Work original</strong> au c&oelig;ur du Tunnel de la Collonge.</p>\r\n
              \r\n
              <p><strong>Au programme (20&euro; TTC par personne)</strong> :<br />\r\n
              <strong>Visite comment&eacute;e</strong> du Tunnel (45 min) &ndash; D&eacute;part &agrave; l&rsquo;heure pile ! Merci d&#39;arriver un peu en avance.<br />\r\n
              <strong>D&eacute;gustation</strong> : 2 fromages affin&eacute;s &amp; 1 verre de vin s&eacute;lection Reniteo<br />\r\n
              <strong>Carte snacking</strong> disponible sur place pour prolonger l&rsquo;exp&eacute;rience ap&eacute;ritive</p>\r\n
              \r\n
              <p><strong>Dates</strong> :</p>\r\n
              \r\n
              <ul>\r\n
              \t<li>\r\n
              \t<p>Jeudi 3 juillet &ndash; de 18h00 &agrave; 19h30</p>\r\n
              \t</li>\r\n
              \t<li>\r\n
              \t<p>Jeudi 10 juillet &ndash; de 18h00 &agrave; 19h30</p>\r\n
              \t</li>\r\n
              </ul>\r\n
              \r\n
              <p>Places limit&eacute;es &agrave; 25 personnes par date.</p>\r\n
              \r\n
              <p><strong>R&eacute;servation obligatoire</strong></p>\r\n
              \r\n
              <p><em>Un minimum de 10 inscriptions est requis par visite. Si ce seuil n&#39;est pas atteint, nous nous r&eacute;servons le droit d&#39;annuler la visite. Dans ce cas, vous serez pr&eacute;venus &agrave; l&#39;avance et aurez le choix entre un remboursement ou la possibilit&eacute; de reporter votre participation &agrave; une autre date.&nbsp;</em></p>\r\n
              \r\n
              <p>Pour toutes questions, contactez Monica: lacollonge@mons-fromagerie.fr</p>
              """
            #metaKeywords: null
            #metaDescription: null
            #locale: "fr"
            #translatable: App\Entity\Product\Product {#6298}
          }
        ]
        #currentLocale: "fr"
        #currentTranslation: null
        #fallbackLocale: "fr"
      }
      #optionValues: Doctrine\ORM\PersistentCollection {#7103 …}
      #position: 0
      #createdAt: DateTime @1749801120 {#6935
        date: 2025-06-13 09:52:00.0 Europe/Berlin (+02:00)
      }
      #updatedAt: DateTime @1749801120 {#6964
        date: 2025-06-13 09:52:00.0 Europe/Berlin (+02:00)
      }
      #enabled: true
      #translations: Doctrine\ORM\PersistentCollection {#7047 …}
      #translationsCache: []
      #currentLocale: "fr"
      #currentTranslation: null
      #fallbackLocale: "fr"
    }
    #productName: null
    #variantName: null
    #id: null
    #order: null
    #quantity: 1
    #unitPrice: 0
    #total: 0
    #immutable: false
    #units: Doctrine\Common\Collections\ArrayCollection {#13319 …}
    #unitsTotal: 0
    #adjustments: Doctrine\Common\Collections\ArrayCollection {#13320 …}
    #adjustmentsTotal: 0
  }
}
same as passed value
product
App\Entity\Product\Product {#6298
  #giftCard: false
  -orderweight: 10002
  -homepageweight: 10002
  -datedispofrom: null
  -datedispoto: null
  -video: null
  #variantSelectionMethod: "choice"
  #productTaxons: Doctrine\ORM\PersistentCollection {#6336 …}
  #channels: Doctrine\ORM\PersistentCollection {#6438 …}
  #mainTaxon: null
  #reviews: Doctrine\ORM\PersistentCollection {#6923 …}
  #averageRating: 0.0
  #images: Doctrine\ORM\PersistentCollection {#6424 …}
  #id: 168
  #code: "afterwork-tunnel"
  #attributes: Doctrine\ORM\PersistentCollection {#6564 …}
  #variants: Doctrine\ORM\PersistentCollection {#6621
    -snapshot: [ …2]
    -owner: App\Entity\Product\Product {#6298}
    -association: [ …16]
    -em: Doctrine\ORM\EntityManager {#4275 …}
    -backRefFieldName: "product"
    -typeClass: Symfony\Component\VarDumper\Caster\CutStub {#66115 …}
    -isDirty: false
    #collection: Doctrine\Common\Collections\ArrayCollection {#6691 …}
    #initialized: true
  }
  #options: Doctrine\ORM\PersistentCollection {#6770 …}
  #associations: Doctrine\ORM\PersistentCollection {#6730 …}
  #createdAt: DateTime @1749800819 {#6390
    date: 2025-06-13 09:46:59.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1749800819 {#6387
    date: 2025-06-13 09:46:59.0 Europe/Berlin (+02:00)
  }
  #enabled: true
  #translations: Doctrine\ORM\PersistentCollection {#6924 …}
  #translationsCache: [
    "fr" => App\Entity\Product\ProductTranslation {#6926
      -dispo_description: null
      #shortDescription: "NOUVEAU ! Rejoignez-nous pour un AfterWork original au cœur du Tunnel de la Collonge. 2 dates de disponibles."
      #id: 168
      #name: "NOUVEAU ! AFTERWORK AU TUNNEL DE LA COLLONGE"
      #slug: "nouveau-afterwork-au-tunnel-de-la-collonge"
      #description: """
        <p><strong>AFTER WORK AU TUNNEL DE LA COLLONGE &ndash; Un moment insolite &amp; gourmand</strong><br />\r\n
        Envie de d&eacute;connecter en fin de journ&eacute;e dans un lieu atypique ? Rejoignez-nous pour un <strong>After Work original</strong> au c&oelig;ur du Tunnel de la Collonge.</p>\r\n
        \r\n
        <p><strong>Au programme (20&euro; TTC par personne)</strong> :<br />\r\n
        <strong>Visite comment&eacute;e</strong> du Tunnel (45 min) &ndash; D&eacute;part &agrave; l&rsquo;heure pile ! Merci d&#39;arriver un peu en avance.<br />\r\n
        <strong>D&eacute;gustation</strong> : 2 fromages affin&eacute;s &amp; 1 verre de vin s&eacute;lection Reniteo<br />\r\n
        <strong>Carte snacking</strong> disponible sur place pour prolonger l&rsquo;exp&eacute;rience ap&eacute;ritive</p>\r\n
        \r\n
        <p><strong>Dates</strong> :</p>\r\n
        \r\n
        <ul>\r\n
        \t<li>\r\n
        \t<p>Jeudi 3 juillet &ndash; de 18h00 &agrave; 19h30</p>\r\n
        \t</li>\r\n
        \t<li>\r\n
        \t<p>Jeudi 10 juillet &ndash; de 18h00 &agrave; 19h30</p>\r\n
        \t</li>\r\n
        </ul>\r\n
        \r\n
        <p>Places limit&eacute;es &agrave; 25 personnes par date.</p>\r\n
        \r\n
        <p><strong>R&eacute;servation obligatoire</strong></p>\r\n
        \r\n
        <p><em>Un minimum de 10 inscriptions est requis par visite. Si ce seuil n&#39;est pas atteint, nous nous r&eacute;servons le droit d&#39;annuler la visite. Dans ce cas, vous serez pr&eacute;venus &agrave; l&#39;avance et aurez le choix entre un remboursement ou la possibilit&eacute; de reporter votre participation &agrave; une autre date.&nbsp;</em></p>\r\n
        \r\n
        <p>Pour toutes questions, contactez Monica: lacollonge@mons-fromagerie.fr</p>
        """
      #metaKeywords: null
      #metaDescription: null
      #locale: "fr"
      #translatable: App\Entity\Product\Product {#6298}
    }
  ]
  #currentLocale: "fr"
  #currentTranslation: null
  #fallbackLocale: "fr"
}
same as passed value

Resolved Options

View Variables