protected function registerWhoops()
	{
		$this->registerWhoopsHandler();

		$this->app['whoops'] = $this->app->share(function($app)
		{
			// We will instruct Whoops to not exit after it displays the exception as it
			// will otherwise run out before we can do anything else. We just want to
			// let the framework go ahead and finish a request on this end instead.
			with($whoops = new Run)->allowQuit(false);

			$whoops->writeToOutput(false);

			return $whoops->pushHandler($app['whoops.handler']);
		});
	}
protected function registerWhoops()
	{
		$this->registerWhoopsHandler();

		$this->app['whoops'] = $this->app->share(function($app)
		{
			// We will instruct Whoops to not exit after it displays the exception as it
			// will otherwise run out before we can do anything else. We just want to
			// let the framework go ahead and finish a request on this end instead.
			with($whoops = new Run)->allowQuit(false);

			$whoops->writeToOutput(false);

			return $whoops->pushHandler($app['whoops.handler']);
		});
	}
protected function registerWhoops ( ) { $ this -> registerWhoopsHandler ( ) ; $ this -> app [ 'whoops' ] = $ this -> app -> share ( function ( $ app ) { // We will instruct Whoops to not exit after it displays the exception as it // will otherwise run out before we can do anything else. We just want to // let the framework go ahead and finish a request on this end instead. with ( $ whoops = new Run ) -> allowQuit ( false ) ; $ whoops -> writeToOutput ( false ) ; return $ whoops -> pushHandler ( $ app [ 'whoops.handler' ] ) ; } ) ; }
Register the Whoops error display service.

@return void
Register the Whoops error display service .