https://staging.maturin.ca/API/removeFavorite/6458?url=API%2FremoveFavorite%2F6458 Return to referer URL

UserController :: removeFavorite

Request

GET Parameters

Key Value
url
"API/removeFavorite/6458"

POST Parameters

Key Value
id
"6458"

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\UserController::removeFavorite"
_firewall_context
"security.firewall.map.context.main"
_redirected
true
_route
"removeFavorite"
_route_params
[
  "id" => "6458"
]
id
"6458"
product
App\Entity\Product {#1113
  #em: Doctrine\ORM\EntityManager {#319 …}
  #userServ: App\Service\UserService {#150 …}
  -urlName: null
  -id: 6458
  -origName: "Duo olives à l'ail"
  -origBrandName: "maison des saveurs"
  -qtyLeft: 0
  -unitAmount: 200.0
  -unit: 2
  -available: true
  -origDescription: "<p>Des olives fra&icirc;ches et parsem&eacute;e de petits morceaux d&#39;ail et d&#39;herbes de Provence et persil, un m&eacute;lange &eacute;tonnamment doux, qui s&eacute;duit les plus r&eacute;fractaires &agrave; l&#39;ail.</p>"
  -categories: Proxies\__CG__\App\Entity\Category {#1175 …}
  -conservation: Proxies\__CG__\App\Entity\Conservation {#1154 …}
  -Origin: "Québec/Canada"
  -bestBefore: null
  -creationDate: DateTime @1602388800 {#1110
    date: 2020-10-11 00:00:00.0 America/New_York (-04:00)
  }
  -nutritionFact: null
  -newProduct: true
  -images: Doctrine\ORM\PersistentCollection {#1155 …}
  -mainImage: Proxies\__CG__\App\Entity\Image {#1176 …}
  -tags: Doctrine\ORM\PersistentCollection {#1133 …}
  -ingredients: Doctrine\ORM\PersistentCollection {#1147 …}
  -storages: Doctrine\ORM\PersistentCollection {#1188 …}
  -pricings: Doctrine\ORM\PersistentCollection {#1206 …}
  -certifications: Doctrine\ORM\PersistentCollection {#1219 …}
  -company: Proxies\__CG__\App\Entity\Company {#1380 …}
  -taxable: false
  -maturinUpc: "055843409251"
  -codeUPC: "627843488231"
  -code1: null
  -code2: null
  -code3: null
  -codeBox: null
  -alimentsDuQuebec: false
  -deliveryLocations: Doctrine\ORM\PersistentCollection {#1368 …}
  -minimumInStorage: 3
  -deliveryMethods: Doctrine\ORM\PersistentCollection {#1345 …}
  -limitedQuantity: false
  -alimentsDuQuebecCertification: null
  -DeliveryType: 0
  -DeliveryPickup: false
  -draft: false
  -deliveryMail: true
  -locations: Doctrine\ORM\PersistentCollection {#1319 …}
  -region: Proxies\__CG__\App\Entity\Region {#1290 …}
  -advices: null
  -recipes: null
  -userViewed: Doctrine\ORM\PersistentCollection {#1301 …}
  -inCarts: Doctrine\ORM\PersistentCollection {#1244 …}
  -solexId: "36893"
  -replenishmentItems: Doctrine\ORM\PersistentCollection {#1261 …}
  -favorites: Doctrine\ORM\PersistentCollection {#1273 …}
  -listOfIngredients: "<p>olives- ail-persil-huile de colza</p>"
  -qtyReadyToShip: 100
  -expirationDate: DateTime @1617249600 {#1111
    date: 2021-04-01 00:00:00.0 America/New_York (-04:00)
  }
  -isConsigned: false
  -consignedCost: 0.0
  -nutritionFactImage: null
  -isFragile: false
  -qtyPerUnit: 2
  -validatedByDistributor: true
  -deliveryNote: null
  -isJustInTime: true
  -reminderLowQuantitySent: false
  -hasMultipleProducts: false
  -hasFreeMaturinShipping: false
  -deal: null
  -productsInBundle: Doctrine\ORM\PersistentCollection {#1275 …}
  -badges: Doctrine\ORM\PersistentCollection {#1397 …}
  -diets: Doctrine\ORM\PersistentCollection {#1410 …}
  -discountPricings: Doctrine\ORM\PersistentCollection {#1412 …}
  -subCategory: null
  -complementedByGroups: Doctrine\ORM\PersistentCollection {#1426 …}
  -complementaryGroups: Doctrine\ORM\PersistentCollection {#1428 …}
  -actionWhenExpired: 0
  -isSubscribable: null
  -subscriptions: Doctrine\ORM\PersistentCollection {#1448 …}
  -isBoxOfProducts: false
  -productsInBox: Doctrine\ORM\PersistentCollection {#1462 …}
  -isOnlySubscribable: null
  -justInTimeDeliveryDate: null
  -freeMaturinShippingIfLowerThen: null
  -isOnlySubscribableToType: null
  -targetOfReplacementScripts: Doctrine\ORM\PersistentCollection {#1476 …}
  -quantityWarehouse: 0
  -quantityWarehouseReserved: 0
  -quantityOnHold: 0
  -parentProductId: null
  -feeWarehousePackingPerUnit: null
  -feeWarehouseHandlingPerUnit: null
  -isDisplayedInAssociationOnly: false
  -isHri: false
  -puroExclusion: false
  -containsAlcohol: false
  -isConsumer: true
  -productColaborPrice: null
  -isPrixLaureat: false
  -cantUseCoupon: false
  -corporative: null
  -seasonality: null
  -seasonalityStart: null
  -seasonalityEnd: null
  -quantityMaxProd: null
  -productDelete: false
  -orderFrequency: 0
  -portionForMeal: 0
}

Request Headers

Header Value
accept
"application/json, text/javascript, */*; q=0.01"
accept-encoding
"gzip,deflate,br"
accept-language
"en-US"
connection
"keep-alive"
content-length
"7"
content-type
"application/x-www-form-urlencoded; charset=UTF-8"
cookie
"PHPSESSID=28lbk1lv3hb4f8jcm0gpjh2l5m; sf_redirect=%7B%22token%22%3A%222552f0%22%2C%22route%22%3A%22viewSponsoredCategory%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CProductController%22%2C%22method%22%3A%22viewSponsoredCategory%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2FMarkego%5C%2Fsrc%5C%2FController%5C%2FProductController.php%22%2C%22line%22%3A161%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D"
host
"staging.maturin.ca"
origin
"https://staging.maturin.ca"
referer
"https://staging.maturin.ca/login"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
x-php-ob-level
"1"
x-requested-with
"XMLHttpRequest"

Request Content

Raw

id=6458

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Tue, 07 Apr 2026 20:24:18 GMT"
x-debug-token
"94bebc"

Cookies

Request Cookies

Key Value
PHPSESSID
"28lbk1lv3hb4f8jcm0gpjh2l5m"
sf_redirect
"{"token":"2552f0","route":"viewSponsoredCategory","method":"GET","controller":{"class":"App\\Controller\\ProductController","method":"viewSponsoredCategory","file":"\/var\/www\/html\/Markego\/src\/Controller\/ProductController.php","line":161},"status_code":302,"status_text":"Found"}"

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Tue, 07 Apr 26 15:41:57 -0400"
Last used
"Tue, 07 Apr 26 16:24:18 -0400"
Lifetime
"31536000"

Session Attributes

Attribute Value
_csrf/https-authenticate
"ifB2-DmsQqaVZuB40-JktXxPZ5GM-BhjKSgmrqlFYls"
_csrf/https-cart
"Hmxnj-4bMY5jm-Q66PlVZL7pJJGdnBoJZhCdJndifXA"
_csrf/https-form
"atFSyGEQ7FZXwOLmSGyBzu1syG_OmovqOL1pySLD44c"
_security.last_username
"ZMskyuza"
_security.main.target_path
"https://staging.maturin.ca/vendeur/produits/liste?url=vendeur%2Fproduits%2Fliste"
cartId
18217509
favorites
Doctrine\Common\Collections\ArrayCollection {#236
  -elements: [
    6740
    2710
    6715
    7425
    2706
  ]
}

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
ADMIN_TO_SEND_ADDRESS
"maxime@maturin.ca"
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"ece17b137845c6af87737a7b429bf83e"
DATABASE_URL
"mysql://dev:adf98hj248r7hdasfSDF23r@127.0.0.1:3306/omelodev"
DEV_TO_MAIL_ADDRESS
"maxime@maturin.ca"
ELASTICSEARCH_HOST
"127.0.0.1"
ELASTICSEARCH_PORT
"9200"
ENABLE_TWIG_CACHE
"true"
MAILER_FROM
"reply-message@maturin.ca"
MAILER_URL
"smtp://mail.maturin.ca:587?encryption=&auth_mode=&username=maxime@maturin.ca&password=y3TE3dK7"
SOLEXIS_API_HOST
"https://maturin-dev.solutionextreme.com/api/"
SOLEXIS_NEW_API_HOST
"https://maturin-dev.solutionextreme.com/api/"
STRIPE_API_KEY
"sk_test_cLLpvDdtubdfD3HTPOK3uEoC"
STRIPE_API_PKEY
"pk_test_Hk3TQ3qfUi6YJ5ZTc2jdQB3X"

Defined as regular env variables

Key Value
CONTENT_LENGTH
"7"
CONTENT_TYPE
"application/x-www-form-urlencoded; charset=UTF-8"
CONTEXT_DOCUMENT_ROOT
"/var/www/html/Markego/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/html/Markego/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"application/json, text/javascript, */*; q=0.01"
HTTP_ACCEPT_ENCODING
"gzip,deflate,br"
HTTP_ACCEPT_LANGUAGE
"en-US"
HTTP_CONNECTION
"keep-alive"
HTTP_COOKIE
"PHPSESSID=28lbk1lv3hb4f8jcm0gpjh2l5m; sf_redirect=%7B%22token%22%3A%222552f0%22%2C%22route%22%3A%22viewSponsoredCategory%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CProductController%22%2C%22method%22%3A%22viewSponsoredCategory%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fhtml%5C%2FMarkego%5C%2Fsrc%5C%2FController%5C%2FProductController.php%22%2C%22line%22%3A161%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D"
HTTP_HOST
"staging.maturin.ca"
HTTP_ORIGIN
"https://staging.maturin.ca"
HTTP_REFERER
"https://staging.maturin.ca/login"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"url=API/removeFavorite/6458"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"url=API/removeFavorite/6458"
REDIRECT_SSL_TLS_SNI
"staging.maturin.ca"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/API/removeFavorite/6458"
REMOTE_ADDR
"45.153.34.143"
REMOTE_PORT
"64637"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1775593458
REQUEST_TIME_FLOAT
1775593458.235
REQUEST_URI
"/API/removeFavorite/6458"
SCRIPT_FILENAME
"/var/www/html/Markego/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.79.50.9"
SERVER_ADMIN
"webmaster@localhost"
SERVER_NAME
"staging.maturin.ca"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at staging.maturin.ca Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
SSL_TLS_SNI
"staging.maturin.ca"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,MAILER_URL,MAILER_FROM,DEV_TO_MAIL_ADDRESS,ADMIN_TO_SEND_ADDRESS,ELASTICSEARCH_HOST,ELASTICSEARCH_PORT,STRIPE_API_KEY,STRIPE_API_PKEY,SOLEXIS_API_HOST,SOLEXIS_NEW_API_HOST,ENABLE_TWIG_CACHE"