Start your All-Access Pass to unlock this challenge
Which of the following is the correct way to trigger a 404 page?
return $this->createNotFoundException();
return new Response('not found', 404);
throw new NotFoundHttpException();
Both E and C are correct.
throw $this->createNotFoundException();