14. Symfony\Component\HttpKernel\Exception\NotFoundHttpException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1366
13. Illuminate\Routing\Router Illuminate\Routing\{closure}
<#unknown>0
12. call_user_func
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1402
11. Illuminate\Routing\Router performBinding
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php249
10. Illuminate\Routing\Route resolveParameter
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php228
9. Illuminate\Routing\Route getParameters
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php201
8. Illuminate\Routing\Route getParameter
…/­app/­library/­CustomCacheFilter.php29
7. CustomCacheFilter fetchOffer
<#unknown>0
6. call_user_func_array
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php159
5. Illuminate\Routing\Route callFilter
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php100
4. Illuminate\Routing\Route callBeforeFilters
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Route.php43
3. Illuminate\Routing\Route run
…/­vendor/­laravel/­framework/­src/­Illuminate/­Routing/­Router.php1016
2. Illuminate\Routing\Router dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php538
1. Illuminate\Foundation\Application dispatch
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php514
0. Illuminate\Foundation\Application run
…/­public/­index.php49

Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException

			// what we should do when the model is not found. This just gives these
			// developer a little greater flexibility to decide what will happen.
			if ($callback instanceof Closure)
			{
				return call_user_func($callback);
			}
 
			throw new NotFoundHttpException;
		});
	}
<#unknown>
	 * @param  string  $key
	 * @param  mixed   $value
	 * @param  \Illuminate\Routing\Route  $route
	 * @return mixed
	 */
	public function performBinding($key, $value, $route)
	{
		return call_user_func($this->binders[$key], $value, $route);
	}
 
		$value = $this->parameters[$key];
 
		// If the parameter has a binder, we will call the binder to resolve the real
		// value for the parameters. The binders could make a database call to get
		// a User object for example or may transform the input in some fashion.
		if ($this->router->hasBinder($key))
		{
			return $this->router->performBinding($key, $value, $this);
		}
 
		// To get the parameter array, we need to spin the names of the variables on
		// the compiled route and match them to the parameters that we got when a
		// route is matched by the router, as routes instances don't have them.
		$parameters = array();
 
		foreach ($variables as $variable)
		{
			$parameters[$variable] = $this->resolveParameter($variable);
		}
 
	 *
	 * @param  string  $name
	 * @param  mixed   $default
	 * @return string
	 */
	public function getParameter($name, $default = null)
	{
		return array_get($this->getParameters(), $name, $default);
	}
 
		if (!Cache::has($key)) {
		 	 Cache::put($key,$response->getContent(),$this->getTtlVillas());
		 }
	}
 
	public function fetchOffer(Route $route,Request $request)
	{	
		$offer_id = $route->getParameter('offer')->id;
		$key = $this->makeOfferKey($offer_id);
		
<#unknown>
		// Next we will parse the filter name to extract out any parameters and adding
		// any parameters specified in a filter name to the end of the lists of our
		// parameters, since the ones at the beginning are typically very static.
		list($name, $params) = $this->parseFilter($name, $params);
 
		if ( ! is_null($callable = $this->router->getFilter($name)))
		{
			return call_user_func_array($callable, $params);
		}
	}
		$response = null;
 
		// Once we have each middlewares, we will simply iterate through them and call
		// each one of them with the request. We will set the response variable to
		// whatever it may return so that it may override the request processes.
		foreach ($before as $filter)
		{
			$response = $this->callFilter($filter, $request);
 
			if ( ! is_null($response)) return $response;
	public function run(Request $request)
	{
		$this->parsedParameters = null;
 
		// We will only call the router callable if no "before" middlewares returned
		// a response. If they do, we will consider that the response to requests
		// so that the request "lifecycle" will be easily halted for filtering.
		$response = $this->callBeforeFilters($request);
 
		if ( ! isset($response))
		// Once we have the route, we can just run it to get the responses, which will
		// always be instances of the Response class. Once we have the responses we
		// will execute the global "after" middlewares to finish off the request.
		else
		{
			$this->currentRoute = $route = $this->findRoute($request);
 
			$response = $route->run($request);
		}
 
		if ($this->isDownForMaintenance())
		{
			$response = $this['events']->until('illuminate.app.down');
 
			if ( ! is_null($response)) return $this->prepareResponse($response, $request);
		}
		
		return $this['router']->dispatch($this->prepareRequest($request));
	}
 
	/**
	 * Handles the given request and delivers the response.
	 *
	 * @return void
	 */
	public function run()
	{
		$response = $this->dispatch($this['request']);
 
		$this['router']->callCloseFilter($this['request'], $response);
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful applications we have created for them.
|
*/
 
$app->run();
 
/*
Key Value
USER www-data
HOME /var/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /var/www/public/index.php
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /ab401/135
DOCUMENT_URI /index.php
DOCUMENT_ROOT /var/www/public
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.4.6
REMOTE_ADDR 54.211.203.45
REMOTE_PORT 41344
SERVER_ADDR 162.243.21.120
SERVER_PORT 443
SERVER_NAME koshercasas.com
HTTPS on
REDIRECT_STATUS 200
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.koshercasas.com
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711627735.9307
REQUEST_TIME 1711627735
empty
empty
empty
empty
Key Value
_sf2_attributes Array ( [_token] => Nb92I9ommWeWUMTEz6pkH8CSBPmvW1Id7meOb0NG [search_locations] => Array ( [0] => Array ( [id] => 15 [name] => Cruise from Juno to Sitka ) [1] => Array ( [id] => 16 [name] => Sri Lanka Villas ) [2] => Array ( [id] => 17 [name] => Anguilla Villas ) [3] => Array ( [id] => 18 [name] => Safaris ) [4] => Array ( [id] => 20 [name] => Thailand Villas ) [5] => Array ( [id] => 21 [name] => Dominican Republic Villas ) [6] => Array ( [id] => 22 [name] => Mexico Villas ) [7] => Array ( [id] => 23 [name] => Alaskan Wilderness ) [8] => Array ( [id] => 25 [name] => Tuscany ) [9] => Array ( [id] => 28 [name] => Galapagos Islands ) [10] => Array ( [id] => 29 [name] => Amazon Rainforest ) [11] => Array ( [id] => 30 [name] => The Andes Mountains ) [12] => Array ( [id] => 31 [name] => Quito ) [13] => Array ( [id] => 32 [name] => Guayaquil ) [14] => Array ( [id] => 35 [name] => Jamaica Villas ) [15] => Array ( [id] => 36 [name] => California ) [16] => Array ( [id] => 37 [name] => Florida ) [17] => Array ( [id] => 38 [name] => Mykonos ) [18] => Array ( [id] => 39 [name] => Nassau ) [19] => Array ( [id] => 40 [name] => Cruise ) [20] => Array ( [id] => 41 [name] => Grace Bay ) [21] => Array ( [id] => 42 [name] => Marbella ) [22] => Array ( [id] => 43 [name] => L'anse Aux Epines ) [23] => Array ( [id] => 44 [name] => Platinum Coast ) [24] => Array ( [id] => 3 [name] => Guanacaste ) [25] => Array ( [id] => 1 [name] => Manuel Antonio Area ) [26] => Array ( [id] => 2 [name] => Arenal ) [27] => Array ( [id] => 13 [name] => Other Areas ) ) [search_countries] => Array ( [0] => Array ( [id] => 51 [name] => Africa ) [1] => Array ( [id] => 52 [name] => Anguilla ) [2] => Array ( [id] => 62 [name] => Bahamas ) [3] => Array ( [id] => 66 [name] => Barbados ) [4] => Array ( [id] => 1 [name] => Costa Rica ) [5] => Array ( [id] => 63 [name] => Croatia ) [6] => Array ( [id] => 46 [name] => Dominican Republic ) [7] => Array ( [id] => 58 [name] => Ecuador-Galapagos ) [8] => Array ( [id] => 61 [name] => Greece ) [9] => Array ( [id] => 57 [name] => Italy, Tuscany ) [10] => Array ( [id] => 56 [name] => Jamaica ) [11] => Array ( [id] => 55 [name] => Mexico ) [12] => Array ( [id] => 64 [name] => Spain ) [13] => Array ( [id] => 53 [name] => Sri Lanka ) [14] => Array ( [id] => 54 [name] => Thailand ) [15] => Array ( [id] => 60 [name] => Turks @ Caicos ) [16] => Array ( [id] => 59 [name] => United States ) ) )
_sf2_flashes Array ( )
_sf2_meta Array ( [u] => 1711627735 [c] => 1711627735 [l] => 36000 )
empty
0. Whoops\Handler\PrettyPageHandler