RecipeController :: viewPost

Request

GET Parameters

Key Value
url
"recettes/voir/pain-aux-pommes-et-a-l’erable/41"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\RecipeController::viewPost"
_firewall_context
"security.firewall.map.context.main"
_route
"viewRecipe"
_route_params
[
  "title" => "pain-aux-pommes-et-a-l%E2%80%99erable"
  "id" => "41"
]
_template
Sensio\Bundle\FrameworkExtraBundle\Configuration\Template {#601
  #template: "frontend/recipes/view.html.twig"
  -vars: []
  -streamable: false
  -owner: []
}
id
"41"
post
App\Entity\Recipe {#1000
  -id: 41
  -title: "Pain aux pommes et à l’érable"
  -resume: "Une option de dessert remplie de fibres et sucrée au sirop d’érable qui est parfaite pour l’automne!"
  -text: """
    <div style="background:#eeeeee; border:1px solid #cccccc; padding:5px 10px">Temps de pr&eacute;paration: 10-15 minutes<br />\r\n
    Temps de pr&eacute;paration: 10-15 minutes<br />\r\n
    Temps total: Environ 1 heure</div>\r\n
    \r\n
    <p><strong>Ingr&eacute;dients</strong></p>\r\n
    \r\n
    <ul>\r\n
    \t<li>2 pommes r&acirc;p&eacute;es</li>\r\n
    \t<li>1/3 de tasse de sirop d&#39;&eacute;rable</li>\r\n
    \t<li>2 &oelig;ufs</li>\r\n
    \t<li>1/2 tasse d&#39;huile neutre</li>\r\n
    \t<li>1 c. &agrave; th&eacute; de vanille</li>\r\n
    \t<li>2 tasses de farine de bl&eacute; entier&nbsp;</li>\r\n
    \t<li>1-1/2 c. &agrave; table de poudre &agrave; p&acirc;te</li>\r\n
    \t<li>1/2 c. &agrave; th&eacute; de bicarbonate de soude</li>\r\n
    \t<li>1/2 c. &agrave; th&eacute; de sel</li>\r\n
    \t<li>1 c. &agrave; th&eacute; de cannelle</li>\r\n
    \t<li>1/2 c. &agrave; th&eacute; de gingembre moulu</li>\r\n
    \t<li>1/4 de c. &agrave; th&eacute; de muscade</li>\r\n
    \t<li>1/4 tasse de noix de Grenoble hach&eacute;e*</li>\r\n
    </ul>\r\n
    \r\n
    <p><strong>M&eacute;thode</strong></p>\r\n
    \r\n
    <ol>\r\n
    \t<li>Pr&eacute;chauffer le four &agrave; 350oF (180oC) et graisser un moule &agrave; pain</li>\r\n
    \t<li>Dans un bol, m&eacute;langer les ingr&eacute;dients humides (huile, sirop, &oelig;ufs, compote de pommes et vanille).&nbsp;</li>\r\n
    \t<li>Ajouter les ingr&eacute;dients secs (farine, poudre &agrave; p&acirc;te, bicarbonate de soude, sel et &eacute;pices) au m&eacute;lange humide.</li>\r\n
    \t<li>&Eacute;tendre la p&acirc;te bien m&eacute;lang&eacute;e uniform&eacute;ment dans le moule pr&eacute;par&eacute;.</li>\r\n
    \t<li>&Eacute;parpiller les noix par-dessus la p&acirc;te.</li>\r\n
    \t<li>Cuire de 45 &agrave; 55 minutes.</li>\r\n
    \t<li>Laisser refroidir dans le moule pendant 10 minutes, puis le retourner sur une grille pour qu&#39;il refroidisse compl&egrave;tement.&nbsp;</li>\r\n
    </ol>\r\n
    \r\n
    <p>&nbsp;</p>\r\n
    \r\n
    <p><strong>Truc de Lau</strong></p>\r\n
    \r\n
    <p>*En cas d&rsquo;allergie aux noix ou autres, elles sont facultatives.</p>\r\n
    \r\n
    <p>Vous pouvez &eacute;galement ajouter des tranches de pommes suppl&eacute;mentaires en garnitures avant la cuisson.</p>\r\n
    \r\n
    <p><strong>Alternative</strong></p>\r\n
    \r\n
    <p>Pour une version g&acirc;teau, voici un gla&ccedil;age &agrave; l&rsquo;&eacute;rable (m&eacute;langer ensemble 1 tasse de sucre en poudre avec 1 c. &agrave; table de sirop d&rsquo;&eacute;rable et 2 c. &agrave; th&eacute; de lait de votre choix). &Eacute;tendre sur le pain refroidi.</p>\r\n
    \r\n
    <p>&nbsp;</p>\r\n
    \r\n
    <p><strong>Valeur nutritive pour une portion</strong></p>\r\n
    \r\n
    <p>&nbsp;234 Kcals, 14 g<em> lipides</em>, 22 g <em>glucides</em> (4 g fibres), 5 g&nbsp;prot&eacute;ines&nbsp;</p>\r\n
    \r\n
    <p>&nbsp;</p>\r\n
    \r\n
    <p><strong>Visitez le site web de Lau &agrave; la bouffe :&nbsp;<a href="http://www.laualabouffe.com/">www.laualabouffe.com</a></strong></p>\r\n
    \r\n
    <p>&nbsp;</p>\r\n
    \r\n
    <p>&nbsp;</p>
    """
  -lang: "fr"
  -creationDate: DateTime @1602686673 {#997
    date: 2020-10-14 10:44:33.0 America/New_York (-04:00)
  }
  -publicationDate: DateTime @1602648000 {#998
    date: 2020-10-14 00:00:00.0 America/New_York (-04:00)
  }
  -image: Proxies\__CG__\App\Entity\Image {#1042 …}
  -active: true
  -metaTitle: "Pain aux pommes et à l’érable"
  -metaDescription: "Une option de dessert remplie de fibres et sucrée au sirop d’érable qui est parfaite pour l’automne!"
  -author: "Lau à la bouffe"
  -suggestedGroups: Doctrine\ORM\PersistentCollection {#1029 …}
}
title
"pain-aux-pommes-et-a-l%E2%80%99erable"

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
accept-encoding
"gzip,deflate,br"
connection
"Keep-alive"
cookie
"PHPSESSID=28lbk1lv3hb4f8jcm0gpjh2l5m"
host
"staging.maturin.ca"
user-agent
"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4201.0 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Wed, 08 Apr 2026 07:50:21 GMT"
x-debug-token
"808049"

Cookies

Request Cookies

Key Value
PHPSESSID
"28lbk1lv3hb4f8jcm0gpjh2l5m"

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Tue, 07 Apr 26 15:41:57 -0400"
Last used
"Wed, 08 Apr 26 03:50:21 -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"
_csrf/https-registration
"AdSJ8EaThNJfXIUvGr2CBFpH0w5hF1LT-7EwKQHj7c4"
_hwi_oauth.facebook.224654284787874.csrf_state.01ba857cbe465bb9aec5dec4aa460b14
"01ba857cbe465bb9aec5dec4aa460b14"
_hwi_oauth.facebook.224654284787874.csrf_state.032a63dcdd36379c7a7ea61f3050d591
"032a63dcdd36379c7a7ea61f3050d591"
_hwi_oauth.facebook.224654284787874.csrf_state.160173e47418a36aa0b08d81d6ea1116
"160173e47418a36aa0b08d81d6ea1116"
_hwi_oauth.facebook.224654284787874.csrf_state.168405bc03755b3ee0919f85937886bf
"168405bc03755b3ee0919f85937886bf"
_hwi_oauth.facebook.224654284787874.csrf_state.1fc223ca1444d052e59eaa8aabc4707a
"1fc223ca1444d052e59eaa8aabc4707a"
_hwi_oauth.facebook.224654284787874.csrf_state.3f346f0b7387c4f63a1e7a13a566072c
"3f346f0b7387c4f63a1e7a13a566072c"
_hwi_oauth.facebook.224654284787874.csrf_state.41399c959ea2ef0025aee8a3a5c77dab
"41399c959ea2ef0025aee8a3a5c77dab"
_hwi_oauth.facebook.224654284787874.csrf_state.46d1003462e11b7ba8e7f80b3680c4b6
"46d1003462e11b7ba8e7f80b3680c4b6"
_hwi_oauth.facebook.224654284787874.csrf_state.93170854ad1b4775c6ac56a1cdb3aa75
"93170854ad1b4775c6ac56a1cdb3aa75"
_hwi_oauth.facebook.224654284787874.csrf_state.cdafaf01b988769113329af6c918ac73
"cdafaf01b988769113329af6c918ac73"
_hwi_oauth.facebook.224654284787874.csrf_state.f73455e9be8ba1486ea183e9abc86509
"f73455e9be8ba1486ea183e9abc86509"
_hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.5e2f2e1f0b4765502369a615576b9632
"5e2f2e1f0b4765502369a615576b9632"
_hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.71adfd6de06185d39d3333c60eef0097
"71adfd6de06185d39d3333c60eef0097"
_hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.756b2de339cf899cc39b5762057c2f3d
"756b2de339cf899cc39b5762057c2f3d"
_hwi_oauth.google.654609154778-7oimf9er3kem3ki594858c268643a8bq.apps.googleusercontent.com.csrf_state.7faf9f461861eaf5c70987b6e0c952eb
"7faf9f461861eaf5c70987b6e0c952eb"
_hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.4461757136aa37d73cbb07e4b0dfdb77
"4461757136aa37d73cbb07e4b0dfdb77"
_hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.7cc16cce27b16abfb30572408630a5ce
"7cc16cce27b16abfb30572408630a5ce"
_hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.a4e4bfc7317078fb4e132a301254a668
"a4e4bfc7317078fb4e132a301254a668"
_hwi_oauth.linkedin.78cm1wovjnexc8.csrf_state.cfbe58e9253ab3b8a3390a59b95919f2
"cfbe58e9253ab3b8a3390a59b95919f2"
_profiler_search_end
"1"
_profiler_search_ip
"45.153.34.143"
_profiler_search_limit
"1"
_profiler_search_method
"1"
_profiler_search_start
"1"
_profiler_search_status_code
"599-1) OR 647=(SELECT 647 FROM PG_SLEEP(15))--"
_profiler_search_token
"1JBnFRn6B'; waitfor delay '0:0:15' -- bgSsNSBD')) OR 788=(SELECT 788 FROM PG_SLEEP(15))--"
_profiler_search_url
"(select 198766*667891 from DUAL)"
_security.last_error
Symfony\Component\Security\Core\Exception\BadCredentialsException {#241
  -token: Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken {#242 …}
  #message: "Bad credentials."
  #code: 0
  #file: "/var/www/html/Markego/vendor/symfony/security-core/Authentication/Provider/UserAuthenticationProvider.php"
  #line: 68
  trace: {
    /var/www/html/Markego/vendor/symfony/security-core/Authentication/Provider/UserAuthenticationProvider.php:68 {
      session_start($options) …
      › if ($this->hideUserNotFoundExceptions) {    throw new BadCredentialsException('Bad credentials.', 0, $e);}
    }
    /var/www/html/Markego/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:151 {
      Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() …
      › // ok to try and start the sessionif (!session_start()) {    throw new \RuntimeException('Failed to start the session');
    }
    /var/www/html/Markego/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:320 {
      Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag($name) …
      › } elseif (!$this->started) {    $this->start();}
    }
    /var/www/html/Markego/vendor/symfony/http-foundation/Session/Session.php:244 {
      Symfony\Component\HttpFoundation\Session\Session->getBag($name) …
      › {    $bag = $this->storage->getBag($name);}
    /var/www/html/Markego/vendor/symfony/http-foundation/Session/Session.php:266 {
      Symfony\Component\HttpFoundation\Session\Session->getAttributeBag(): AttributeBagInterface …
      › {    return $this->getBag($this->attributeName);}
    }
    /var/www/html/Markego/vendor/symfony/http-foundation/Session/Session.php:68 {
      Symfony\Component\HttpFoundation\Session\Session->get($name, $default = null) …
      › {    return $this->getAttributeBag()->get($name, $default);}
    }
    /var/www/html/Markego/vendor/symfony/security-http/Firewall/ContextListener.php:113 {
      Symfony\Component\Security\Http\Firewall\ContextListener->authenticate(RequestEvent $event) …
      › $sessionId = $session->getId();$token = $session->get($this->sessionKey);}
    /var/www/html/Markego/vendor/symfony/security-http/Firewall/AbstractListener.php:27 {
      Symfony\Component\Security\Http\Firewall\AbstractListener->__invoke(RequestEvent $event) …
      › if (false !== $this->supports($event->getRequest())) {    $this->authenticate($event);}
    }
    /var/www/html/Markego/vendor/symfony/security-bundle/Debug/WrappedListener.php:51 {
      Symfony\Bundle\SecurityBundle\Debug\WrappedListener->__invoke(RequestEvent $event) …
      › if (\is_callable($this->listener)) {    ($this->listener)($event);} else {
    }
    /var/www/html/Markego/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php:35 {
      Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener->callListeners(RequestEvent $event, iterable $listeners) …
      › $wrappedListener = new WrappedListener($listener);$wrappedListener($event);$this->wrappedListeners[] = $wrappedListener->getInfo();
    }
    /var/www/html/Markego/vendor/symfony/security-http/Firewall.php:97 {
      Symfony\Component\Security\Http\Firewall->onKernelRequest(GetResponseEvent $event) …
      › if ($event instanceof RequestEvent) {    $this->callListeners($event, $authenticationListeners());} else {
    }
    /var/www/html/Markego/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126 {
      Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Event $event, $eventName, EventDispatcherInterface $dispatcher) …
      › 
      › ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);}
    /var/www/html/Markego/vendor/symfony/event-dispatcher/EventDispatcher.php:264 {
      Symfony\Component\EventDispatcher\EventDispatcher->doDispatch($listeners, $eventName, Event $event) …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/html/Markego/vendor/symfony/event-dispatcher/EventDispatcher.php:239 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, $event) …
      › if ($event instanceof Event) {    $this->doDispatch($listeners, $eventName, $event);}
    /var/www/html/Markego/vendor/symfony/event-dispatcher/EventDispatcher.php:73 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch($event) …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/html/Markego/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168 {
      Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch($event) …
      › try {    $this->dispatcher->dispatch($event, $eventName);} finally {
    }
    /var/www/html/Markego/vendor/symfony/http-kernel/HttpKernel.php:122 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MASTER_REQUEST): Response …
      › $event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);}
    /var/www/html/Markego/vendor/symfony/http-kernel/HttpKernel.php:68 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/html/Markego/vendor/symfony/http-kernel/Kernel.php:201 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/html/Markego/public/index.php:35 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
_security.last_username
"(select 198766*667891 from DUAL)"
_security.main.target_path
"https://staging.maturin.ca/vendeur/produits/liste/?url=vendeur%2Fproduits%2Fliste%2F"
cartId
18217509
favorites
Doctrine\Common\Collections\ArrayCollection {#236
  -elements: [
    2709
    6458
    7395
    823
  ]
}
showThisAssociationIdOnly-customBrowsing
3

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
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
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip,deflate,br"
HTTP_CONNECTION
"Keep-alive"
HTTP_COOKIE
"PHPSESSID=28lbk1lv3hb4f8jcm0gpjh2l5m"
HTTP_HOST
"staging.maturin.ca"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4201.0 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"url=recettes/voir/pain-aux-pommes-et-a-l%E2%80%99erable/41"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"url=recettes/voir/pain-aux-pommes-et-a-l%E2%80%99erable/41"
REDIRECT_SSL_TLS_SNI
"staging.maturin.ca"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/recettes/voir/pain-aux-pommes-et-a-l%E2%80%99erable/41"
REMOTE_ADDR
"45.153.34.143"
REMOTE_PORT
"51294"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1775634616
REQUEST_TIME_FLOAT
1775634616.75
REQUEST_URI
"/recettes/voir/pain-aux-pommes-et-a-l%25E2%2580%2599erable/41"
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"