/www/htdocs/w01d88a3/prod.victoria-page-photography.de/app/Http/Controllers/PageController.php
$posts = get_posts($args);
if ($posts && count($posts) > 0) {
return $this->get($posts[0]);
}
$args = array(
'name' => $slug,
'posts_per_page' => 1,
'post_type' => 'page',
'post_status' => 'publish'
);
$posts = get_posts($args);
if ($posts && count($posts) > 0) {
return $this->get($posts[0]);
}
}
public function get(WP_Post $post): string
{
$content = '';
$blocks = parse_blocks($post->post_content);
foreach ($blocks as $block) {
if ($block['blockName'] === 'lazyblock/service-grid') {
if (isset($block['attrs']['category']) && $block['attrs']['category'] === 'graphic') {
$posts = get_posts([
'post_type' => 'services',
'post_status' => 'publish',
'numberposts' => -1,
'category' => 'graphic'
]);
header('Location: ' . get_permalink($posts[0]), true, 301);
exit;
}
if (isset($block['attrs']['category']) && $block['attrs']['category'] === 'art') {
$posts = get_posts([
'post_type' => 'services',
Arguments
"App\Http\Controllers\PageController::getService(): Return value must be of type string, none returned"
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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
"getService"
array:1 [
"slug" => "friends"
]
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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
Themosis\Route\Route {#1289}
App\Http\Controllers\PageController {#3236}
"getService"
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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.
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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);
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Route/Middleware/WordPressBodyClass.php
{
$this->filter = $filter;
}
/**
* Handle incoming request.
*
* @param $request
* @param \Closure $next
*
* @return mixed
*/
public function handle($request, \Closure $next)
{
$this->filter->add(
'body_class',
$this->dispatchBodyClass($request->route()),
);
return $next($request);
}
/**
* Return the callback managing route body CSS classes.
*
* @param Route $route
*
* @return \Closure
*/
protected function dispatchBodyClass(Route $route)
{
return function ($classes) use ($route) {
if ($route->hasCondition()) {
return $classes;
}
$tokens = array_filter(array_map(function ($token) use ($route) {
switch ($type = $token[0]) {
case 'variable':
if (isset($token[3]) && $route->hasParameter($paramKey = $token[3])) {
Arguments
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Closure($passable) {#3233 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Core/Http/Middleware/VerifyCsrfToken.php
}
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
*
* @throws TokenMismatchException
*
* @return mixed
*/
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 $request)
{
return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
}
Arguments
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Closure($passable) {#3216 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Closure($passable) {#3215 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Closure($passable) {#3214 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Illuminate\Session\Store {#3204}
Closure($passable) {#3213 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Closure($passable) {#3213 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Route/Middleware/WordPressBindings.php
$this->router = $router;
}
/**
* Handle an incoming request.
*
* @param $request
* @param \Closure $next
*
* @return mixed
*/
public function handle($request, \Closure $next)
{
$route = $request->route();
if ($route->hasCondition()) {
$this->router->addWordPressBindings($route);
}
return $next($request);
}
}
Arguments
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Closure($passable) {#3212 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Route/Middleware/WordPressHeaders.php
namespace Themosis\Route\Middleware;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class WordPressHeaders
{
/**
* Cleanup response headers.
*
* @param Request $request
* @param \Closure $next
*
* @return Response
*/
public function handle(Request $request, \Closure $next)
{
$route = $request->route();
$response = $next($request);
if (! $route->hasCondition() && function_exists('is_user_logged_in') && ! is_user_logged_in()) {
// We're on a custom route. Remove "no-cache" headers added by WordPress:
// - Cache-Control
// - Expires
// - Content-type (provided by the response instance as well)
@header_remove('Cache-Control');
@header_remove('Expires');
@header_remove('Content-Type');
}
// Set the response cache control to "public"
// on pages visited by guest users only.
if (function_exists('is_user_logged_in') && ! is_user_logged_in()) {
$response->setPublic();
}
return $response;
}
}
Arguments
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Closure($passable) {#3211 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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) {#3218 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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
Themosis\Route\Route {#1289}
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
Themosis\Route\Route {#1289}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Core/Http/Kernel.php
protected function sendRequestThroughRouter($request)
{
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Get route dispatcher callback used by the
* routing pipeline.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Bootstrap the application.
*/
public function bootstrap()
{
if (! $this->app->hasBeenBootstrapped()) {
$this->app->bootstrapWith($this->bootstrappers());
}
}
/**
* Return the bootstrappers array.
*
* @return array
*/
protected function bootstrappers()
{
Arguments
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/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 {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Core/Http/Kernel.php
* @return bool
*/
public function hasMiddleware($middleware)
{
return in_array($middleware, $this->middleware);
}
/**
* Send given request through the middleware (if any) and router.
*
* @param \Illuminate\Http\Request $request
*
* @return IlluminateResponse
*/
protected function sendRequestThroughRouter($request)
{
return (new Pipeline($this->app))
->send($request)
->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
->then($this->dispatchToRouter());
}
/**
* Get route dispatcher callback used by the
* routing pipeline.
*
* @return \Closure
*/
protected function dispatchToRouter()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Bootstrap the application.
*/
Arguments
Closure($request) {#3239 …4}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Core/Http/Kernel.php
*/
public function init($request)
{
$this->app->instance('request', $request);
Facade::clearResolvedInstance('request');
$this->bootstrap();
}
/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
*
* @return IlluminateResponse
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
} catch (Throwable $e) {
$this->reportException($e = new FatalThrowableError($e));
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new RequestHandled($request, $response),
);
return $response;
}
/**
* Determine if the kernel has a given middleware.
*
* @param string $middleware
*
Arguments
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/vendor/themosis/framework/src/Core/Application.php
foreach ($this->terminatingCallbacks as $terminating) {
$this->call($terminating);
}
}
/**
* Handle incoming request and return a response.
* Abstract the implementation from the user for easy
* theme integration.
*
* @param string $kernel Application kernel class name.
* @param \Symfony\Component\HttpFoundation\Request $request
*
* @return $this
*/
public function manage(string $kernel, $request)
{
$kernel = $this->make($kernel);
$response = $kernel->handle($request);
$response->sendHeaders();
$response->sendContent();
if (function_exists('shutdown_action_hook')) {
shutdown_action_hook();
}
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
} elseif (function_exists('litespeed_finish_request')) {
litespeed_finish_request();
} elseif (! in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
Response::closeOutputBuffers(0, true);
}
$kernel->terminate($request, $response);
return $this;
}
Arguments
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/htdocs/content/themes/main/index.php
<?php
use Illuminate\Contracts\Http\Kernel;
use Themosis\Core\Application;
/**
* Default WordPress template.
*
* By default, routes should be defined at application
* root into the routes/web.php file.
*
* Routes can be overwritten using theme routes.php file.
*/
$app = Application::getInstance();
$app->manage(Kernel::class, $app['request']);
Arguments
App\Http\Kernel {#39}
Illuminate\Http\Request {#53
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\InputBag {#61}
+query: Symfony\Component\HttpFoundation\InputBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\InputBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: "/friends"
#requestUri: "/friends"
#baseUrl: ""
#basePath: null
#method: "GET"
#format: null
#session: Illuminate\Session\Store {#3204}
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
-isSafeContentPreferred: null
#json: null
#convertedFiles: null
#userResolver: Closure($guard = null) {#3238 …4}
#routeResolver: Closure() {#3234 …4}
basePath: ""
format: "html"
}
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/htdocs/cms/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/www/htdocs/w01d88a3/prod.victoria-page-photography.de/htdocs/content/themes/main/index.php"
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/htdocs/cms/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/www/htdocs/w01d88a3/prod.victoria-page-photography.de/htdocs/cms/wp-includes/template-loader.php"
/www/htdocs/w01d88a3/prod.victoria-page-photography.de/htdocs/index.php
<?php
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require dirname(__FILE__).'/cms/wp-blog-header.php';
Arguments
"/www/htdocs/w01d88a3/prod.victoria-page-photography.de/htdocs/cms/wp-blog-header.php"