/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
if ($this->async) {
return $this->makePromise($method, $url, $options);
}
return retry($this->tries ?? 1, function () use ($method, $url, $options) {
try {
return tap(new Response($this->sendRequest($method, $url, $options)), function ($response) {
$this->populateResponse($response);
if ($this->tries > 1 && ! $response->successful()) {
$response->throw();
}
$this->dispatchResponseReceivedEvent($response);
});
} catch (ConnectException $e) {
$this->dispatchConnectionFailedEvent();
throw new ConnectionException($e->getMessage(), 0, $e);
}
}, $this->retryDelay ?? 100, $this->retryWhenCallback);
}
/**
* Parse multi-part form data.
*
* @param array $data
* @return array|array[]
*/
protected function parseMultipartBodyFormat(array $data)
{
return collect($data)->map(function ($value, $key) {
return is_array($value) ? $value : ['name' => $key, 'contents' => $value];
})->values()->all();
}
/**
* Send an asynchronous request to the given URL.
*
Arguments
"cURL error 6: Could not resolve host: count-server.sharethis.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
$easy->onHeadersException,
$ctx
)
);
}
$message = \sprintf(
'cURL error %s: %s (%s)',
$ctx['errno'],
$ctx['error'],
'see https://curl.haxx.se/libcurl/c/libcurl-errors.html'
);
$uriString = (string) $easy->request->getUri();
if ($uriString !== '' && false === \strpos($ctx['error'], $uriString)) {
$message .= \sprintf(' for %s', $uriString);
}
// Create a connection exception if it was a specific error code.
$error = isset($connectionErrors[$easy->errno])
? new ConnectException($message, $easy->request, null, $ctx)
: new RequestException($message, $easy->request, $easy->response, null, $ctx);
return P\Create::rejectionFor($error);
}
/**
* @return array<int|string, mixed>
*/
private function getDefaultConf(EasyHandle $easy): array
{
$conf = [
'_headers' => $easy->request->getHeaders(),
\CURLOPT_CUSTOMREQUEST => $easy->request->getMethod(),
\CURLOPT_URL => (string) $easy->request->getUri()->withFragment(''),
\CURLOPT_RETURNTRANSFER => false,
\CURLOPT_HEADER => false,
\CURLOPT_CONNECTTIMEOUT => 150,
];
if (\defined('CURLOPT_PROTOCOLS')) {
Arguments
"cURL error 6: Could not resolve host: count-server.sharethis.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
/**
* @param callable(RequestInterface, array): PromiseInterface $handler
*/
private static function finishError(callable $handler, EasyHandle $easy, CurlFactoryInterface $factory): PromiseInterface
{
// Get error information and release the handle to the factory.
$ctx = [
'errno' => $easy->errno,
'error' => \curl_error($easy->handle),
'appconnect_time' => \curl_getinfo($easy->handle, \CURLINFO_APPCONNECT_TIME),
] + \curl_getinfo($easy->handle);
$ctx[self::CURL_VERSION_STR] = \curl_version()['version'];
$factory->release($easy);
// Retry when nothing is present or when curl failed to rewind.
if (empty($easy->options['_err_message']) && (!$easy->errno || $easy->errno == 65)) {
return self::retryFailedRewind($handler, $easy, $ctx);
}
return self::createRejection($easy, $ctx);
}
private static function createRejection(EasyHandle $easy, array $ctx): PromiseInterface
{
static $connectionErrors = [
\CURLE_OPERATION_TIMEOUTED => true,
\CURLE_COULDNT_RESOLVE_HOST => true,
\CURLE_COULDNT_CONNECT => true,
\CURLE_SSL_CONNECT_ERROR => true,
\CURLE_GOT_NOTHING => true,
];
if ($easy->createResponseException) {
return P\Create::rejectionFor(
new RequestException(
'An error was encountered while creating the response',
$easy->request,
$easy->response,
$easy->createResponseException,
$ctx
Arguments
GuzzleHttp\Handler\EasyHandle {#1392}
array:41 [
"errno" => 6
"error" => "Could not resolve host: count-server.sharethis.com"
"appconnect_time" => 0.0
"url" => "https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
"content_type" => null
"http_code" => 0
"header_size" => 0
"request_size" => 0
"filetime" => -1
"ssl_verify_result" => 0
"redirect_count" => 0
"total_time" => 0.00178
"namelookup_time" => 0.0
"connect_time" => 0.0
"pretransfer_time" => 0.0
"size_upload" => 0.0
"size_download" => 0.0
"speed_download" => 0.0
"speed_upload" => 0.0
"download_content_length" => -1.0
"upload_content_length" => -1.0
"starttransfer_time" => 0.0
"redirect_time" => 0.0
"redirect_url" => ""
"primary_ip" => ""
"certinfo" => []
"primary_port" => 0
"local_ip" => ""
"local_port" => 0
"http_version" => 0
"protocol" => 0
"ssl_verifyresult" => 0
"scheme" => ""
"appconnect_time_us" => 0
"connect_time_us" => 0
"namelookup_time_us" => 0
"pretransfer_time_us" => 0
"redirect_time_us" => 0
"starttransfer_time_us" => 0
"total_time_us" => 1780
"curl_version" => "7.87.0"
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
\curl_reset($resource);
$this->handles[] = $resource;
}
}
/**
* Completes a cURL transaction, either returning a response promise or a
* rejected promise.
*
* @param callable(RequestInterface, array): PromiseInterface $handler
* @param CurlFactoryInterface $factory Dictates how the handle is released
*/
public static function finish(callable $handler, EasyHandle $easy, CurlFactoryInterface $factory): PromiseInterface
{
if (isset($easy->options['on_stats'])) {
self::invokeStats($easy);
}
if (!$easy->response || $easy->errno) {
return self::finishError($handler, $easy, $factory);
}
// Return the response if it is present and there is no error.
$factory->release($easy);
// Rewind the body of the response if possible.
$body = $easy->response->getBody();
if ($body->isSeekable()) {
$body->rewind();
}
return new FulfilledPromise($easy->response);
}
private static function invokeStats(EasyHandle $easy): void
{
$curlStats = \curl_getinfo($easy->handle);
$curlStats['appconnect_time'] = \curl_getinfo($easy->handle, \CURLINFO_APPCONNECT_TIME);
$stats = new TransferStats(
$easy->request,
Arguments
GuzzleHttp\Handler\CurlHandler {#1360}
GuzzleHttp\Handler\EasyHandle {#1392}
GuzzleHttp\Handler\CurlFactory {#1367}
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php
*
* @param array{handle_factory?: ?CurlFactoryInterface} $options Array of options to use with the handler
*/
public function __construct(array $options = [])
{
$this->factory = $options['handle_factory']
?? new CurlFactory(3);
}
public function __invoke(RequestInterface $request, array $options): PromiseInterface
{
if (isset($options['delay'])) {
\usleep($options['delay'] * 1000);
}
$easy = $this->factory->create($request, $options);
\curl_exec($easy->handle);
$easy->errno = \curl_errno($easy->handle);
return CurlFactory::finish($this, $easy, $this->factory);
}
}
Arguments
GuzzleHttp\Handler\CurlHandler {#1360}
GuzzleHttp\Handler\EasyHandle {#1392}
GuzzleHttp\Handler\CurlFactory {#1367}
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php
/**
* Provides basic proxies for handlers.
*
* @final
*/
class Proxy
{
/**
* Sends synchronous requests to a specific handler while sending all other
* requests to another handler.
*
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for normal responses
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $sync Handler used for synchronous responses.
*
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
*/
public static function wrapSync(callable $default, callable $sync): callable
{
return static function (RequestInterface $request, array $options) use ($default, $sync): PromiseInterface {
return empty($options[RequestOptions::SYNCHRONOUS]) ? $default($request, $options) : $sync($request, $options);
};
}
/**
* Sends streaming requests to a streaming compatible handler while sending
* all other requests to a default handler.
*
* This, for example, could be useful for taking advantage of the
* performance benefits of curl while still supporting true streaming
* through the StreamHandler.
*
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for non-streaming responses
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses
*
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
*/
public static function wrapStreaming(callable $default, callable $streaming): callable
{
return static function (RequestInterface $request, array $options) use ($default, $streaming): PromiseInterface {
return empty($options['stream']) ? $default($request, $options) : $streaming($request, $options);
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php
};
}
/**
* Sends streaming requests to a streaming compatible handler while sending
* all other requests to a default handler.
*
* This, for example, could be useful for taking advantage of the
* performance benefits of curl while still supporting true streaming
* through the StreamHandler.
*
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $default Handler used for non-streaming responses
* @param callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface $streaming Handler used for streaming responses
*
* @return callable(\Psr\Http\Message\RequestInterface, array): \GuzzleHttp\Promise\PromiseInterface Returns the composed handler.
*/
public static function wrapStreaming(callable $default, callable $streaming): callable
{
return static function (RequestInterface $request, array $options) use ($default, $streaming): PromiseInterface {
return empty($options['stream']) ? $default($request, $options) : $streaming($request, $options);
};
}
}
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
};
}
/**
* Build the stub handler.
*
* @return \Closure
*/
public function buildStubHandler()
{
return function ($handler) {
return function ($request, $options) use ($handler) {
$response = ($this->stubCallbacks ?? collect())
->map
->__invoke((new Request($request))->withData($options['laravel_data']), $options)
->filter()
->first();
if (is_null($response)) {
return $handler($request, $options);
}
$response = is_array($response) ? Factory::response($response) : $response;
$sink = $options['sink'] ?? null;
if ($sink) {
$response->then($this->sinkStubHandler($sink));
}
return $response;
};
};
}
/**
* Get the sink stub handler callback.
*
* @param string $sink
* @return \Closure
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
*/
public function buildBeforeSendingHandler()
{
return function ($handler) {
return function ($request, $options) use ($handler) {
return $handler($this->runBeforeSendingCallbacks($request, $options), $options);
};
};
}
/**
* Build the recorder handler.
*
* @return \Closure
*/
public function buildRecorderHandler()
{
return function ($handler) {
return function ($request, $options) use ($handler) {
$promise = $handler($request, $options);
return $promise->then(function ($response) use ($request, $options) {
optional($this->factory)->recordRequestResponsePair(
(new Request($request))->withData($options['laravel_data']),
new Response($response)
);
return $response;
});
};
};
}
/**
* Build the stub handler.
*
* @return \Closure
*/
public function buildStubHandler()
{
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
$stack->push($this->buildBeforeSendingHandler());
$stack->push($this->buildRecorderHandler());
$stack->push($this->buildStubHandler());
$this->middleware->each(function ($middleware) use ($stack) {
$stack->push($middleware);
});
});
}
/**
* Build the before sending handler.
*
* @return \Closure
*/
public function buildBeforeSendingHandler()
{
return function ($handler) {
return function ($request, $options) use ($handler) {
return $handler($this->runBeforeSendingCallbacks($request, $options), $options);
};
};
}
/**
* Build the recorder handler.
*
* @return \Closure
*/
public function buildRecorderHandler()
{
return function ($handler) {
return function ($request, $options) use ($handler) {
$promise = $handler($request, $options);
return $promise->then(function ($response) use ($request, $options) {
optional($this->factory)->recordRequestResponsePair(
(new Request($request))->withData($options['laravel_data']),
new Response($response)
);
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php
/**
* @var callable(RequestInterface, array): PromiseInterface
*/
private $nextHandler;
/**
* @param callable(RequestInterface, array): PromiseInterface $nextHandler Next handler to invoke.
*/
public function __construct(callable $nextHandler)
{
$this->nextHandler = $nextHandler;
}
public function __invoke(RequestInterface $request, array $options): PromiseInterface
{
$fn = $this->nextHandler;
// Don't do anything if the request has no body.
if ($request->getBody()->getSize() === 0) {
return $fn($request, $options);
}
$modify = [];
// Add a default content-type if possible.
if (!$request->hasHeader('Content-Type')) {
if ($uri = $request->getBody()->getMetadata('uri')) {
if (is_string($uri) && $type = Psr7\MimeType::fromFilename($uri)) {
$modify['set_headers']['Content-Type'] = $type;
}
}
}
// Add a default content-length or transfer-encoding header.
if (!$request->hasHeader('Content-Length')
&& !$request->hasHeader('Transfer-Encoding')
) {
$size = $request->getBody()->getSize();
if ($size !== null) {
$modify['set_headers']['Content-Length'] = $size;
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Middleware.php
/**
* Middleware that adds cookies to requests.
*
* The options array must be set to a CookieJarInterface in order to use
* cookies. This is typically handled for you by a client.
*
* @return callable Returns a function that accepts the next handler.
*/
public static function cookies(): callable
{
return static function (callable $handler): callable {
return static function ($request, array $options) use ($handler) {
if (empty($options['cookies'])) {
return $handler($request, $options);
} elseif (!($options['cookies'] instanceof CookieJarInterface)) {
throw new \InvalidArgumentException('cookies must be an instance of GuzzleHttp\Cookie\CookieJarInterface');
}
$cookieJar = $options['cookies'];
$request = $cookieJar->withCookieHeader($request);
return $handler($request, $options)
->then(
static function (ResponseInterface $response) use ($cookieJar, $request): ResponseInterface {
$cookieJar->extractCookies($request, $response);
return $response;
}
);
};
};
}
/**
* Middleware that throws exceptions for 4xx or 5xx responses when the
* "http_errors" request option is set to true.
*
* @param BodySummarizerInterface|null $bodySummarizer The body summarizer to use in exception messages.
*
* @return callable(callable): callable Returns a function that accepts the next handler.
*/
public static function httpErrors(BodySummarizerInterface $bodySummarizer = null): callable
{
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php
$fn = $this->nextHandler;
if (empty($options['allow_redirects'])) {
return $fn($request, $options);
}
if ($options['allow_redirects'] === true) {
$options['allow_redirects'] = self::$defaultSettings;
} elseif (!\is_array($options['allow_redirects'])) {
throw new \InvalidArgumentException('allow_redirects must be true, false, or array');
} else {
// Merge the default settings with the provided settings
$options['allow_redirects'] += self::$defaultSettings;
}
if (empty($options['allow_redirects']['max'])) {
return $fn($request, $options);
}
return $fn($request, $options)
->then(function (ResponseInterface $response) use ($request, $options) {
return $this->checkRedirect($request, $options, $response);
});
}
/**
* @return ResponseInterface|PromiseInterface
*/
public function checkRedirect(RequestInterface $request, array $options, ResponseInterface $response)
{
if (\strpos((string) $response->getStatusCode(), '3') !== 0
|| !$response->hasHeader('Location')
) {
return $response;
}
$this->guardMax($request, $response, $options);
$nextRequest = $this->modifyRequest($request, $options, $response);
// If authorization is handled by curl, unset it if host is different.
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Middleware.php
}
);
};
};
}
/**
* Middleware that throws exceptions for 4xx or 5xx responses when the
* "http_errors" request option is set to true.
*
* @param BodySummarizerInterface|null $bodySummarizer The body summarizer to use in exception messages.
*
* @return callable(callable): callable Returns a function that accepts the next handler.
*/
public static function httpErrors(BodySummarizerInterface $bodySummarizer = null): callable
{
return static function (callable $handler) use ($bodySummarizer): callable {
return static function ($request, array $options) use ($handler, $bodySummarizer) {
if (empty($options['http_errors'])) {
return $handler($request, $options);
}
return $handler($request, $options)->then(
static function (ResponseInterface $response) use ($request, $bodySummarizer) {
$code = $response->getStatusCode();
if ($code < 400) {
return $response;
}
throw RequestException::create($request, $response, null, [], $bodySummarizer);
}
);
};
};
}
/**
* Middleware that pushes history data to an ArrayAccess container.
*
* @param array|\ArrayAccess<int, array> $container Container to hold the history (by reference).
*
* @return callable(callable): callable Returns a function that accepts the next handler.
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/HandlerStack.php
}
/**
* @param (callable(RequestInterface, array): PromiseInterface)|null $handler Underlying HTTP handler.
*/
public function __construct(callable $handler = null)
{
$this->handler = $handler;
}
/**
* Invokes the handler stack as a composed handler
*
* @return ResponseInterface|PromiseInterface
*/
public function __invoke(RequestInterface $request, array $options)
{
$handler = $this->resolve();
return $handler($request, $options);
}
/**
* Dumps a string representation of the stack.
*
* @return string
*/
public function __toString()
{
$depth = 0;
$stack = [];
if ($this->handler !== null) {
$stack[] = "0) Handler: " . $this->debugCallable($this->handler);
}
$result = '';
foreach (\array_reverse($this->stack) as $tuple) {
$depth++;
$str = "{$depth}) Name: '{$tuple[1]}', ";
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Client.php
return $result;
}
/**
* Transfers the given request and applies request options.
*
* The URI of the request is not modified and the request options are used
* as-is without merging in default options.
*
* @param array $options See \GuzzleHttp\RequestOptions.
*/
private function transfer(RequestInterface $request, array $options): PromiseInterface
{
$request = $this->applyOptions($request, $options);
/** @var HandlerStack $handler */
$handler = $options['handler'];
try {
return P\Create::promiseFor($handler($request, $options));
} catch (\Exception $e) {
return P\Create::rejectionFor($e);
}
}
/**
* Applies the array of request options to a request.
*/
private function applyOptions(RequestInterface $request, array &$options): RequestInterface
{
$modify = [
'set_headers' => [],
];
if (isset($options['headers'])) {
if (array_keys($options['headers']) === range(0, count($options['headers']) - 1)) {
throw new InvalidArgumentException('The headers array must have header name as keys.');
}
$modify['set_headers'] = $options['headers'];
unset($options['headers']);
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Client.php
* @param string|UriInterface $uri URI object or string.
* @param array $options Request options to apply. See \GuzzleHttp\RequestOptions.
*/
public function requestAsync(string $method, $uri = '', array $options = []): PromiseInterface
{
$options = $this->prepareDefaults($options);
// Remove request modifying parameter because it can be done up-front.
$headers = $options['headers'] ?? [];
$body = $options['body'] ?? null;
$version = $options['version'] ?? '1.1';
// Merge the URI into the base URI.
$uri = $this->buildUri(Psr7\Utils::uriFor($uri), $options);
if (\is_array($body)) {
throw $this->invalidBody();
}
$request = new Psr7\Request($method, $uri, $headers, $body, $version);
// Remove the option so that they are not doubly-applied.
unset($options['headers'], $options['body'], $options['version']);
return $this->transfer($request, $options);
}
/**
* Create and send an HTTP request.
*
* Use an absolute path to override the base path of the client, or a
* relative path to append to the base path of the client. The URL can
* contain the query string as well.
*
* @param string $method HTTP method.
* @param string|UriInterface $uri URI object or string.
* @param array $options Request options to apply. See \GuzzleHttp\RequestOptions.
*
* @throws GuzzleException
*/
public function request(string $method, $uri = '', array $options = []): ResponseInterface
{
$options[RequestOptions::SYNCHRONOUS] = true;
return $this->requestAsync($method, $uri, $options)->wait();
}
Arguments
GuzzleHttp\Psr7\Request {#1385}
array:10 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
]
/home/u277672960/domains/anabata.com/public_html/vendor/guzzlehttp/guzzle/src/Client.php
return $this->transfer($request, $options);
}
/**
* Create and send an HTTP request.
*
* Use an absolute path to override the base path of the client, or a
* relative path to append to the base path of the client. The URL can
* contain the query string as well.
*
* @param string $method HTTP method.
* @param string|UriInterface $uri URI object or string.
* @param array $options Request options to apply. See \GuzzleHttp\RequestOptions.
*
* @throws GuzzleException
*/
public function request(string $method, $uri = '', array $options = []): ResponseInterface
{
$options[RequestOptions::SYNCHRONOUS] = true;
return $this->requestAsync($method, $uri, $options)->wait();
}
/**
* Get a client configuration option.
*
* These options include default request options of the client, a "handler"
* (if utilized by the concrete client), and a "base_uri" if utilized by
* the concrete client.
*
* @param string|null $option The config option to retrieve.
*
* @return mixed
*
* @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0.
*/
public function getConfig(?string $option = null)
{
return $option === null
? $this->config
: ($this->config[$option] ?? null);
Arguments
"GET"
GuzzleHttp\Psr7\Uri {#1380}
array:11 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"synchronous" => true
"handler" => GuzzleHttp\HandlerStack {#1331}
"cookies" => GuzzleHttp\Cookie\CookieJar {#1379}
"allow_redirects" => array:5 [
"max" => 5
"protocols" => array:2 [
0 => "http"
1 => "https"
]
"strict" => false
"referer" => false
"track_redirects" => false
]
"decode_content" => true
"verify" => true
"idn_conversion" => false
"_conditional" => array:1 [
"User-Agent" => "GuzzleHttp/7"
]
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
}
/**
* Send a request either synchronously or asynchronously.
*
* @param string $method
* @param string $url
* @param array $options
* @return \Psr\Http\Message\MessageInterface|\GuzzleHttp\Promise\PromiseInterface
*
* @throws \Exception
*/
protected function sendRequest(string $method, string $url, array $options = [])
{
$clientMethod = $this->async ? 'requestAsync' : 'request';
$laravelData = $this->parseRequestData($method, $url, $options);
return $this->buildClient()->$clientMethod($method, $url, $this->mergeOptions([
'laravel_data' => $laravelData,
'on_stats' => function ($transferStats) {
$this->transferStats = $transferStats;
},
], $options));
}
/**
* Get the request data as an array so that we can attach it to the request for convenient assertions.
*
* @param string $method
* @param string $url
* @param array $options
* @return array
*/
protected function parseRequestData($method, $url, array $options)
{
$laravelData = $options[$this->bodyFormat] ?? $options['query'] ?? [];
$urlString = Str::of($url);
Arguments
"GET"
"https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
array:5 [
"http_errors" => false
"laravel_data" => array:1 [
"url" => "https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
"on_stats" => Closure($transferStats) {#1381 …4}
"json" => null
"synchronous" => true
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
}
if (is_array($options[$this->bodyFormat])) {
$options[$this->bodyFormat] = array_merge(
$options[$this->bodyFormat], $this->pendingFiles
);
}
} else {
$options[$this->bodyFormat] = $this->pendingBody;
}
[$this->pendingBody, $this->pendingFiles] = [null, []];
if ($this->async) {
return $this->makePromise($method, $url, $options);
}
return retry($this->tries ?? 1, function () use ($method, $url, $options) {
try {
return tap(new Response($this->sendRequest($method, $url, $options)), function ($response) {
$this->populateResponse($response);
if ($this->tries > 1 && ! $response->successful()) {
$response->throw();
}
$this->dispatchResponseReceivedEvent($response);
});
} catch (ConnectException $e) {
$this->dispatchConnectionFailedEvent();
throw new ConnectionException($e->getMessage(), 0, $e);
}
}, $this->retryDelay ?? 100, $this->retryWhenCallback);
}
/**
* Parse multi-part form data.
*
* @param array $data
Arguments
"GET"
"https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
array:1 [
"json" => null
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Support/helpers.php
* Retry an operation a given number of times.
*
* @param int $times
* @param callable $callback
* @param int|\Closure $sleepMilliseconds
* @param callable|null $when
* @return mixed
*
* @throws \Exception
*/
function retry($times, callable $callback, $sleepMilliseconds = 0, $when = null)
{
$attempts = 0;
beginning:
$attempts++;
$times--;
try {
return $callback($attempts);
} catch (Exception $e) {
if ($times < 1 || ($when && ! $when($e))) {
throw $e;
}
if ($sleepMilliseconds) {
usleep(value($sleepMilliseconds, $attempts) * 1000);
}
goto beginning;
}
}
}
if (! function_exists('tap')) {
/**
* Call the given Closure with the given value then return the value.
*
* @param mixed $value
* @param callable|null $callback
Arguments
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
return $this->makePromise($method, $url, $options);
}
return retry($this->tries ?? 1, function () use ($method, $url, $options) {
try {
return tap(new Response($this->sendRequest($method, $url, $options)), function ($response) {
$this->populateResponse($response);
if ($this->tries > 1 && ! $response->successful()) {
$response->throw();
}
$this->dispatchResponseReceivedEvent($response);
});
} catch (ConnectException $e) {
$this->dispatchConnectionFailedEvent();
throw new ConnectionException($e->getMessage(), 0, $e);
}
}, $this->retryDelay ?? 100, $this->retryWhenCallback);
}
/**
* Parse multi-part form data.
*
* @param array $data
* @return array|array[]
*/
protected function parseMultipartBodyFormat(array $data)
{
return collect($data)->map(function ($value, $key) {
return is_array($value) ? $value : ['name' => $key, 'contents' => $value];
})->values()->all();
}
/**
* Send an asynchronous request to the given URL.
*
* @param string $method
* @param string $url
Arguments
0
Closure() {#1359 …4}
100
null
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/PendingRequest.php
return $this->beforeSending(function (Request $request, array $options) use ($values) {
foreach (array_merge($values, [$request, $options]) as $value) {
VarDumper::dump($value);
}
exit(1);
});
}
/**
* Issue a GET request to the given URL.
*
* @param string $url
* @param array|string|null $query
* @return \Illuminate\Http\Client\Response
*/
public function get(string $url, $query = null)
{
return $this->send('GET', $url, func_num_args() === 1 ? [] : [
'query' => $query,
]);
}
/**
* Issue a HEAD request to the given URL.
*
* @param string $url
* @param array|string|null $query
* @return \Illuminate\Http\Client\Response
*/
public function head(string $url, $query = null)
{
return $this->send('HEAD', $url, func_num_args() === 1 ? [] : [
'query' => $query,
]);
}
/**
* Issue a POST request to the given URL.
*
Arguments
"GET"
"https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
array:1 [
"json" => null
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Http/Client/Factory.php
{
return $this->dispatcher;
}
/**
* Execute a method against a new pending request instance.
*
* @param string $method
* @param array $parameters
* @return mixed
*/
public function __call($method, $parameters)
{
if (static::hasMacro($method)) {
return $this->macroCall($method, $parameters);
}
return tap($this->newPendingRequest(), function ($request) {
$request->stub($this->stubCallbacks);
})->{$method}(...$parameters);
}
}
Arguments
"https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php
}
/**
* Handle dynamic, static calls to the object.
*
* @param string $method
* @param array $args
* @return mixed
*
* @throws \RuntimeException
*/
public static function __callStatic($method, $args)
{
$instance = static::getFacadeRoot();
if (! $instance) {
throw new RuntimeException('A facade root has not been set.');
}
return $instance->$method(...$args);
}
}
Arguments
"get"
array:1 [
0 => "https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
/home/u277672960/domains/anabata.com/public_html/app/Http/Controllers/FrontController.php
$newssingle = News::with('category')->where('slug',$slug)->first();
$relatednews = News::with('category')->where('category_id',$newssingle->category_id)->inRandomOrder()->limit(4)->get();
$getfirm = firm_news::where('news_id',$newssingle->id)->get();
$getphoto = photographer_news::where('news_id',$newssingle->id)->get();
$getroubric = roubric::where('id',$newssingle->roubric_id)->first();
$getAuthor = User::where('id',$newssingle->author)->first();
$getEditor = User::where('id',$newssingle->editor)->first();
$categories = Category::where('id','!=','9')->get();
$comments = comment::where('id',$newssingle->id)->get();
$countcomment = count($comments);
$breakingnews = News::whereHas('category')->where('status',1)->where('featured',0)->latest()->take(2)->get();
$url = "https://anabata.com/news/".$newssingle->slug;
$urlcount = "https://count-server.sharethis.com/v2.0/get_counts?url=".$url;
$topnewslist2 = News::whereHas('category')->where('status',1)->where('featured',0)->whereyear('created_at',date('Y'))->whereMonth('created_at','>=',date('m')-1)->OrderBy('view_count', 'DESC')->take(6)->get();
$topnewslist = News::whereHas('category')->where('status',1)->latest()->take(6)->get();
$tag = tag_news::join('tags','tag_news.tag_id','=','tags.id')->join('news','news.id','=','tag_news.news_id')->where('news.id',$newssingle->id)->get();
$tags = tag_news::join('tags','tag_news.tag_id','=','tags.id')->join('news','news.id','=','tag_news.news_id')->where('news.id',$newssingle->id)->select('tags.tag')->get();
$singlenews = News::whereHas('category')->where('status',1)->latest()->take(5)->get();
$response = Http::get($urlcount);
$data = $response->json();
$newssessionkey = 'news-'.$newssingle->id;
if(!session()->has($newssessionkey)){
$newssingle->increment('view_count');
session()->put($newssessionkey,1);
}
return view('frontend.pages.single-page',compact('getroubric','singlenews','tags','tag','topnewslist','topnewslist2','data','relatednews','newssingle','getfirm','getphoto','highlightnews','getAuthor','getEditor','categories','countcomment','breakingnews','category'));
}
public function pageSearch(Request $request)
{
$search = request()->input('search');
Arguments
"get"
array:1 [
0 => "https://count-server.sharethis.com/v2.0/get_counts?url=https://anabata.com/news/a-warm-maritime-heritage-esbjerg-maritime-center"
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
/**
* Get the middleware assigned to the controller.
*
* @return array
*/
public function getMiddleware()
{
return $this->middleware;
}
/**
* Execute an action on the controller.
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return $this->{$method}(...array_values($parameters));
}
/**
* Handle calls to missing methods on the controller.
*
* @param string $method
* @param array $parameters
* @return mixed
*
* @throws \BadMethodCallException
*/
public function __call($method, $parameters)
{
throw new BadMethodCallException(sprintf(
'Method %s::%s does not exist.', static::class, $method
));
}
}
Arguments
"architecture"
"a-warm-maritime-heritage-esbjerg-maritime-center"
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
{
$this->container = $container;
}
/**
* Dispatch a request to a given controller and method.
*
* @param \Illuminate\Routing\Route $route
* @param mixed $controller
* @param string $method
* @return mixed
*/
public function dispatch(Route $route, $controller, $method)
{
$parameters = $this->resolveClassMethodDependencies(
$route->parametersWithoutNulls(), $controller, $method
);
if (method_exists($controller, 'callAction')) {
return $controller->callAction($method, $parameters);
}
return $controller->{$method}(...array_values($parameters));
}
/**
* Get the middleware for the controller instance.
*
* @param \Illuminate\Routing\Controller $controller
* @param string $method
* @return array
*/
public function getMiddleware($controller, $method)
{
if (! method_exists($controller, 'getMiddleware')) {
return [];
}
return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
return static::methodExcludedByOptions($method, $data['options']);
Arguments
"pageNews"
array:2 [
"category" => "architecture"
"slug" => "a-warm-maritime-heritage-esbjerg-maritime-center"
]
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
* Determine if the route action is a serialized Closure.
*
* @return bool
*/
protected function isSerializedClosure()
{
return RouteAction::containsSerializedClosure($this->action);
}
/**
* Run the route action and return the response.
*
* @return mixed
*
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/
protected function runController()
{
return $this->controllerDispatcher()->dispatch(
$this, $this->getController(), $this->getControllerMethod()
);
}
/**
* Get the controller instance for the route.
*
* @return mixed
*/
public function getController()
{
if (! $this->controller) {
$class = $this->parseControllerCallback()[0];
$this->controller = $this->container->make(ltrim($class, '\\'));
}
return $this->controller;
}
/**
Arguments
Illuminate\Routing\Route {#350}
App\Http\Controllers\FrontController {#354}
"pageNews"
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
*
* @throws \UnexpectedValueException
*/
protected function parseAction($action)
{
return RouteAction::parse($this->uri, $action);
}
/**
* Run the route action and return the response.
*
* @return mixed
*/
public function run()
{
$this->container = $this->container ?: new Container;
try {
if ($this->isControllerAction()) {
return $this->runController();
}
return $this->runCallable();
} catch (HttpResponseException $e) {
return $e->getResponse();
}
}
/**
* Checks whether the route's action is a controller.
*
* @return bool
*/
protected function isControllerAction()
{
return is_string($this->action['uses']) && ! $this->isSerializedClosure();
}
/**
* Run the route action and return the response.
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$computedMiddleware = $route->gatherMiddleware();
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($computedMiddleware)->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
if (is_callable($pipe)) {
// If the pipe is a callable, then we will call it directly, but otherwise we
// will resolve the pipes out of the dependency container and call it with
// the appropriate method and arguments, returning the results back out.
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/app/Http/Middleware/ActivityByUser.php
<?php
namespace App\Http\Middleware;
use App\User;
use Closure;
use Auth;
use Cache;
use Carbon\Carbon;
class ActivityByUser
{
public function handle($request, Closure $next)
{
if (Auth::check()) {
$expiresAt = Carbon::now()->addMinutes(1); // keep online for 1 min
Cache::put('user-is-online-' . Auth::user()->id, true, $expiresAt);
// last seen
User::where('id', Auth::user()->id)->update(['last_seen' => (new \DateTime())->format("Y-m-d H:i:s")]);
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#351 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
try {
$this->router->substituteBindings($route = $request->route());
$this->router->substituteImplicitBindings($route);
} catch (ModelNotFoundException $exception) {
if ($route->getMissing()) {
return $route->getMissing()($request, $exception);
}
throw $exception;
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#339 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next)
{
if (
$this->isReading($request) ||
$this->runningUnitTests() ||
$this->inExceptArray($request) ||
$this->tokensMatch($request)
) {
return tap($next($request), function ($response) use ($request) {
if ($this->shouldAddXsrfTokenCookie()) {
$this->addCookieToResponse($request, $response);
}
});
}
throw new TokenMismatchException('CSRF token mismatch.');
}
/**
* Determine if the HTTP request uses a ‘read’ verb.
*
* @param \Illuminate\Http\Request $request
* @return bool
*/
protected function isReading($request)
{
return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
}
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#340 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
// If the current session has an "errors" variable bound to it, we will share
// its value with all view instances so the views can easily access errors
// without having to bind. An empty bag is set when there aren't errors.
$this->view->share(
'errors', $request->session()->get('errors') ?: new ViewErrorBag
);
// Putting the errors in the view for every view allows the developer to just
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#341 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
/**
* Handle the given request within session state.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @param \Closure $next
* @return mixed
*/
protected function handleStatefulRequest(Request $request, $session, Closure $next)
{
// If a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. Note that the Laravel sessions
// do not make use of PHP "native" sessions in any way since they are crappy.
$request->setLaravelSession(
$this->startSession($request, $session)
);
$this->collectGarbage($session);
$response = $next($request);
$this->storeCurrentUrl($request, $session);
$this->addCookieToResponse($response, $session);
// Again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. We will also
// add the session identifier cookie to the application response headers now.
$this->saveSession($request);
return $response;
}
/**
* Start the session for the given request.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @return \Illuminate\Contracts\Session\Session
*/
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
if (! $this->sessionConfigured()) {
return $next($request);
}
$session = $this->getSession($request);
if ($this->manager->shouldBlock() ||
($request->route() instanceof Route && $request->route()->locksFor())) {
return $this->handleRequestWhileBlocking($request, $session, $next);
}
return $this->handleStatefulRequest($request, $session, $next);
}
/**
* Handle the given request within session state.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Session\Session $session
* @param \Closure $next
* @return mixed
*/
protected function handleRequestWhileBlocking(Request $request, $session, Closure $next)
{
if (! $request->route() instanceof Route) {
return;
}
$lockFor = $request->route() && $request->route()->locksFor()
? $request->route()->locksFor()
: 10;
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Illuminate\Session\Store {#362}
Closure($passable) {#345 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#345 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
* Create a new CookieQueue instance.
*
* @param \Illuminate\Contracts\Cookie\QueueingFactory $cookies
* @return void
*/
public function __construct(CookieJar $cookies)
{
$this->cookies = $cookies;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
foreach ($this->cookies->getQueuedCookies() as $cookie) {
$response->headers->setCookie($cookie);
}
return $response;
}
}
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#346 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
* Disable encryption for the given cookie name(s).
*
* @param string|array $name
* @return void
*/
public function disableFor($name)
{
$this->except = array_merge($this->except, (array) $name);
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return \Symfony\Component\HttpFoundation\Response
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/**
* Decrypt the cookies on the request.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @return \Symfony\Component\HttpFoundation\Request
*/
protected function decrypt(Request $request)
{
foreach ($request->cookies as $key => $cookie) {
if ($this->isDisabled($key) || is_array($cookie)) {
continue;
}
try {
$value = $this->decryptCookie($key, $cookie);
$hasValidPrefix = strpos($value, CookieValuePrefix::create($key, $this->encrypter->getKey())) === 0;
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#347 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function ($request) use ($route) {
return $this->prepareResponse(
$request, $route->run()
);
});
}
/**
* Gather the middleware for the given route with resolved class names.
*
* @param \Illuminate\Routing\Route $route
* @return array
*/
public function gatherRouteMiddleware(Route $route)
{
$computedMiddleware = $route->gatherMiddleware();
$excluded = collect($route->excludedMiddleware())->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->values()->all();
$middleware = collect($computedMiddleware)->map(function ($name) {
return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
})->flatten()->reject(function ($name) use ($excluded) {
if (empty($excluded)) {
Arguments
Closure($request) {#357 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
return $route;
}
/**
* Return the response for the given route.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Routing\Route $route
* @return \Symfony\Component\HttpFoundation\Response
*/
protected function runRoute(Request $request, Route $route)
{
$request->setRouteResolver(function () use ($route) {
return $route;
});
$this->events->dispatch(new RouteMatched($route, $request));
return $this->prepareResponse($request,
$this->runRouteWithinStack($route, $request)
);
}
/**
* Run the given route within a Stack "onion" instance.
*
* @param \Illuminate\Routing\Route $route
* @param \Illuminate\Http\Request $request
* @return mixed
*/
protected function runRouteWithinStack(Route $route, Request $request)
{
$shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
$this->container->make('middleware.disable') === true;
$middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
return (new Pipeline($this->container))
->send($request)
->through($middleware)
Arguments
Illuminate\Routing\Route {#350}
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
{
$this->current = $route = $this->routes->match($request);
$route->setContainer($this->container);
$this->container->instance(Route::class, $route);
return $route;
}
/**
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Illuminate\Routing\Route {#350}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
* @return \Symfony\Component\HttpFoundation\Response
*/
public function respondWithRoute($name)
{
$route = tap($this->routes->getByName($name))->bind($this->currentRequest);
return $this->runRoute($this->currentRequest, $route);
}
/**
* Dispatch the request to the application.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatch(Request $request)
{
$this->currentRequest = $request;
return $this->dispatchToRoute($request);
}
/**
* Dispatch the request to a route and return the response.
*
* @param \Illuminate\Http\Request $request
* @return \Symfony\Component\HttpFoundation\Response
*/
public function dispatchToRoute(Request $request)
{
return $this->runRoute($request, $this->findRoute($request));
}
/**
* Find the route matching a given request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Routing\Route
*/
protected function findRoute($request)
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return void
*/
public function terminate($request, $response)
{
$this->terminateMiddleware($request, $response);
$this->app->terminate();
}
/**
* Call the terminate method on any terminable middleware.
*
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
protected function prepareDestination(Closure $destination)
{
return function ($passable) use ($destination) {
try {
return $destination($passable);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
}
/**
* Get a Closure that represents a slice of the application onion.
*
* @return \Closure
*/
protected function carry()
{
return function ($stack, $pipe) {
return function ($passable) use ($stack, $pipe) {
try {
if (is_callable($pipe)) {
// If the pipe is a callable, then we will call it directly, but otherwise we
// will resolve the pipes out of the dependency container and call it with
// the appropriate method and arguments, returning the results back out.
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/livewire/livewire/src/DisableBrowserCache.php
<?php
namespace Livewire;
use Closure;
use Symfony\Component\HttpFoundation\Response;
class DisableBrowserCache
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$response = $next($request);
if ($response instanceof Response && Livewire::shouldDisableBackButtonCache()){
$response->headers->add([
"Pragma" => "no-cache",
"Expires" => "Fri, 01 Jan 1990 00:00:00 GMT",
"Cache-Control" => "no-cache, must-revalidate, no-store, max-age=0, private",
]);
}
return $response;
}
}
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#199 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/fideloper/proxy/src/TrustProxies.php
{
$this->config = $config;
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws \Symfony\Component\HttpKernel\Exception\HttpException
*
* @return mixed
*/
public function handle(Request $request, Closure $next)
{
$request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
$this->setTrustedProxyIpAddresses($request);
return $next($request);
}
/**
* Sets the trusted proxies on the request to the value of trustedproxy.proxies
*
* @param \Illuminate\Http\Request $request
*/
protected function setTrustedProxyIpAddresses(Request $request)
{
$trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
// Trust any IP address that calls us
// `**` for backwards compatibility, but is deprecated
if ($trustedIps === '*' || $trustedIps === '**') {
return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
}
// Support IPs addresses separated by comma
$trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#198 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php
* @var array
*/
protected static $skipCallbacks = [];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
foreach (static::$skipCallbacks as $callback) {
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
* @param string $key
* @param mixed $value
* @return mixed
*/
protected function transform($key, $value)
{
return is_string($value) && $value === '' ? null : $value;
}
/**
* Register a callback that instructs the middleware to be skipped.
*
* @param \Closure $callback
* @return void
*/
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#197 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#197 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php
namespace Illuminate\Foundation\Http\Middleware;
use Closure;
use Symfony\Component\HttpFoundation\ParameterBag;
class TransformsRequest
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
$this->clean($request);
return $next($request);
}
/**
* Clean the request's data.
*
* @param \Illuminate\Http\Request $request
* @return void
*/
protected function clean($request)
{
$this->cleanParameterBag($request->query);
if ($request->isJson()) {
$this->cleanParameterBag($request->json());
} elseif ($request->request !== $request->query) {
$this->cleanParameterBag($request->request);
}
}
/**
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php
protected $except = [
//
];
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
foreach (static::$skipCallbacks as $callback) {
if ($callback($request)) {
return $next($request);
}
}
return parent::handle($request, $next);
}
/**
* Transform the given value.
*
* @param string $key
* @param mixed $value
* @return mixed
*/
protected function transform($key, $value)
{
if (in_array($key, $this->except, true)) {
return $value;
}
return is_string($value) ? trim($value) : $value;
}
/**
* Register a callback that instructs the middleware to be skipped.
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#196 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#196 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php
class ValidatePostSize
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*
* @throws \Illuminate\Http\Exceptions\PostTooLargeException
*/
public function handle($request, Closure $next)
{
$max = $this->getPostMaxSize();
if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
throw new PostTooLargeException;
}
return $next($request);
}
/**
* Determine the server 'post_max_size' as bytes.
*
* @return int
*/
protected function getPostMaxSize()
{
if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
return (int) $postMaxSize;
}
$metric = strtoupper(substr($postMaxSize, -1));
$postMaxSize = (int) $postMaxSize;
switch ($metric) {
case 'K':
return $postMaxSize * 1024;
case 'M':
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#54 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php
}
}
if (isset($data['template'])) {
return response(
$data['template'],
$data['status'] ?? 503,
$this->getHeaders($data)
);
}
throw new HttpException(
$data['status'] ?? 503,
'Service Unavailable',
null,
$this->getHeaders($data)
);
}
return $next($request);
}
/**
* Determine if the incoming request has a maintenance mode bypass cookie.
*
* @param \Illuminate\Http\Request $request
* @param array $data
* @return bool
*/
protected function hasValidBypassCookie($request, array $data)
{
return isset($data['secret']) &&
$request->cookie('laravel_maintenance') &&
MaintenanceModeBypassCookie::isValid(
$request->cookie('laravel_maintenance'),
$data['secret']
);
}
/**
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
// the appropriate method and arguments, returning the results back out.
return $pipe($passable, $stack);
} elseif (! is_object($pipe)) {
[$name, $parameters] = $this->parsePipeString($pipe);
// If the pipe is a string we will parse the string and resolve the class out
// of the dependency injection container. We can then build a callable and
// execute the pipe function giving in the parameters that are required.
$pipe = $this->getContainer()->make($name);
$parameters = array_merge([$passable, $stack], $parameters);
} else {
// If the pipe is already an object we'll just make a callable and pass it to
// the pipe as-is. There is no need to do any extra parsing and formatting
// since the object we're given was already a fully instantiated object.
$parameters = [$passable, $stack];
}
$carry = method_exists($pipe, $this->method)
? $pipe->{$this->method}(...$parameters)
: $pipe(...$parameters);
return $this->handleCarry($carry);
} catch (Throwable $e) {
return $this->handleException($passable, $e);
}
};
};
}
/**
* Parse full pipe string to get name and parameters.
*
* @param string $pipe
* @return array
*/
protected function parsePipeString($pipe)
{
[$name, $parameters] = array_pad(explode(':', $pipe, 2), 2, []);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
Closure($passable) {#51 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
public function via($method)
{
$this->method = $method;
return $this;
}
/**
* Run the pipeline with a final destination callback.
*
* @param \Closure $destination
* @return mixed
*/
public function then(Closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->pipes()), $this->carry(), $this->prepareDestination($destination)
);
return $pipeline($this->passable);
}
/**
* Run the pipeline and return the result.
*
* @return mixed
*/
public function thenReturn()
{
return $this->then(function ($passable) {
return $passable;
});
}
/**
* Get the final piece of the Closure onion.
*
* @param \Closure $destination
* @return \Closure
*/
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Bootstrap the application for HTTP requests.
*
* @return void
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Get the route dispatcher callback.
*
* @return \Closure
*/
protected function dispatchToRouter()
Arguments
Closure($request) {#30 …4}
/home/u277672960/domains/anabata.com/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
public function __construct(Application $app, Router $router)
{
$this->app = $app;
$this->router = $router;
$this->syncMiddlewareToRouter();
}
/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Throwable $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new RequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}
/home/u277672960/domains/anabata.com/public_html/public/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Illuminate\Http\Request {#44
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#335 …4}
#routeResolver: Closure() {#349 …4}
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#46}
+request: Symfony\Component\HttpFoundation\InputBag {#52}
+query: Symfony\Component\HttpFoundation\InputBag {#52}
+server: Symfony\Component\HttpFoundation\ServerBag {#48}
+files: Symfony\Component\HttpFoundation\FileBag {#49}
+cookies: Symfony\Component\HttpFoundation\InputBag {#47}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#50}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#requestUri: "/architecture=a-warm-maritime-heritage-esbjerg-maritime-center"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#362}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
basePath: ""
format: "html"
}