5. Symfony\Component\HttpKernel\Exception\NotFoundHttpException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1429
4. Illuminate\Routing\Router handleRoutingException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1050
3. Illuminate\Routing\Router findRoute
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1014
2. Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php576
1. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php552
0. Illuminate\Foundation\Application run
/­Users/­tony/­Documents/­MAMP-sites/­ninja-media-script/­index.php54

Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException

  1. * @param Exception $e
  2. * @return void
  3. */
  4. protected function handleRoutingException(\Exception $e)
  5. {
  6. if ($e instanceof ResourceNotFoundException)
  7. {
  8. throw new NotFoundHttpException($e->getMessage());
  9. }
  1. }
  2. // The Symfony routing component's exceptions implement this interface we
  3. // can type-hint it to make sure we're only providing special handling
  4. // for those exceptions, and not other random exceptions that occur.
  5. catch (ExceptionInterface $e)
  6. {
  7. $this->handleRoutingException($e);
  8. }
  1. }
  2. // Once we have the route, we can just run it to get the responses, which will
  3. // always be instances of the Response class. Once we have the responses we
  4. // will execute the global "after" middlewares to finish off the request.
  5. else
  6. {
  7. $this->currentRoute = $route = $this->findRoute($request);
  8. $response = $route->run($request);
  1. if ($this->isDownForMaintenance())
  2. {
  3. $response = $this['events']->until('illuminate.app.down');
  4. if ( ! is_null($response)) return $this->prepareResponse($response, $request);
  5. }
  6. return $this['router']->dispatch($this->prepareRequest($request));
  7. }
  1. /**
  2. * Handles the given request and delivers the response.
  3. *
  4. * @return void
  5. */
  6. public function run()
  7. {
  8. $response = $this->dispatch($this['request']);
  9. $this['router']->callCloseFilter($this['request'], $response);
  1. | Once we have the application, we can simply call the run method,
  2. | which will execute the request and send the response back to
  3. | the client's browser allowing them to enjoy the creative
  4. | and wonderful applications we have created for them.
  5. |
  6. */
  7. $app->run();
  8. /*
Key Value
REDIRECT_STATUS 200
HTTP_HOST ninja-media-script.com
HTTP_CONNECTION keep-alive
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
HTTP_USER_AGENT Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
HTTP_ACCEPT_ENCODING gzip, deflate, sdch
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.8
PATH /usr/bin:/bin:/usr/sbin:/sbin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME ninja-media-script.com
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
REMOTE_ADDR 127.0.0.1
DOCUMENT_ROOT /Users/tony/Documents/MAMP-sites/ninja-media-script
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /Users/tony/Documents/MAMP-sites/ninja-media-script/index.php
REMOTE_PORT 51117
REDIRECT_URL /signin
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /signin
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1418486882.07
REQUEST_TIME 1418486882
argv Array ( )
argc 0
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [_token] => LcfNBFnSHxiv2KyqOlM0FVRuVcEPM3EngIsB3Y7O )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1418486882 [c] => 1418486882 [l] => 7200 )
Key Value
SHELL /bin/zsh
TMPDIR /var/folders/ds/x2b0ddh93ln67_qtg4_dnllm0000gn/T/
Apple_PubSub_Socket_Render /private/tmp/com.apple.launchd.PFOuDfHrNd/Render
USER tony
SSH_AUTH_SOCK /private/tmp/com.apple.launchd.wFp5mT22k2/Listeners
__CF_USER_TEXT_ENCODING 0x0:0:0
PATH /usr/bin:/bin:/usr/sbin:/sbin
PWD /
XPC_FLAGS 0x0
XPC_SERVICE_NAME 0
SHLVL 1
HOME /Users/tony
DYLD_LIBRARY_PATH /Applications/MAMP/Library/lib
LOGNAME tony
_ /Applications/MAMP/Library/bin/httpd
0. Whoops\Handler\PrettyPageHandler