/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php
if (count($result) == count(array_unique($id))) return $result;
}
elseif ( ! is_null($result))
{
return $result;
}
throw (new ModelNotFoundException)->setModel(get_class($this->model));
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
if (in_array($method, array('increment', 'decrement')))
{
return call_user_func_array(array($this, $method), $parameters);
}
$query = $this->newQuery();
return call_user_func_array(array($query, $method), $parameters);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
* @param array $parameters
* @return mixed
*/
public static function __callStatic($method, $parameters)
{
$instance = new static;
return call_user_func_array(array($instance, $method), $parameters);
}
/home/alphapar/public_html/app/Http/Controllers/NewsController.php
}
if (empty($slug)) {
$article = $news[0];
} else {
$i = explode('-', $slug);
// kiválasztott hír
$article = News::findOrFail(end($i));
}
return view('news.view')->with(compact('page', 'list', 'article'));
/home/alphapar/public_html/app/Http/Controllers/NewsController.php
}
if (empty($slug)) {
$article = $news[0];
} else {
$i = explode('-', $slug);
// kiválasztott hír
$article = News::findOrFail(end($i));
}
return view('news.view')->with(compact('page', 'list', 'article'));
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php
*
* @param string $method
* @param array $parameters
* @return \Symfony\Component\HttpFoundation\Response
*/
public function callAction($method, $parameters)
{
return call_user_func_array(array($this, $method), $parameters);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
*/
protected function call($instance, $route, $method)
{
$parameters = $this->resolveClassMethodDependencies(
$route->parametersWithoutNulls(), $instance, $method
);
return $instance->callAction($method, $parameters);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
// us the ability to define middlewares on controllers. We will return the given
// response back out so that "after" filters can be run after the middlewares.
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function($request) use ($instance, $route, $method)
{
return $this->call($instance, $route, $method);
});
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @param \Closure $destination
* @return \Closure
*/
protected function getInitialSlice(Closure $destination)
{
return function($passable) use ($destination)
{
return call_user_func($destination, $passable);
};
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
{
$firstSlice = $this->getInitialSlice($destination);
$pipes = array_reverse($this->pipes);
return call_user_func(
array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
// response back out so that "after" filters can be run after the middlewares.
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function($request) use ($instance, $route, $method)
{
return $this->call($instance, $route, $method);
});
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php
// If no before filters returned a response we'll call the method on the controller
// to get the response to be returned to the router. We will then return it back
// out for processing by this router and the after filters can be called then.
if (is_null($response))
{
$response = $this->callWithinStack(
$instance, $route, $request, $method
);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
*/
protected function runWithCustomDispatcher(Request $request)
{
list($class, $method) = explode('@', $this->action['uses']);
$dispatcher = $this->container->make('illuminate.route.dispatcher');
return $dispatcher->dispatch($this, $request, $class, $method);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php
if ( ! is_string($this->action['uses']))
{
return $this->runCallable($request);
}
if ($this->customDispatcherIsBound())
{
return $this->runWithCustomDispatcher($request);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
return (new Pipeline($this->container))
->send($request)
->through($middleware)
->then(function($request) use ($route)
{
return $this->prepareResponse(
$request,
$route->run($request)
);
});
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @param \Closure $destination
* @return \Closure
*/
protected function getInitialSlice(Closure $destination)
{
return function($passable) use ($destination)
{
return call_user_func($destination, $passable);
};
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
{
$firstSlice = $this->getInitialSlice($destination);
$pipes = array_reverse($this->pipes);
return call_user_func(
array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
->through($middleware)
->then(function($request) use ($route)
{
return $this->prepareResponse(
$request,
$route->run($request)
);
});
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
// filters in that if a response is returned we will not call the route.
$response = $this->callRouteBefore($route, $request);
if (is_null($response))
{
$response = $this->runRouteWithinStack(
$route, $request
);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php
// If no response was returned from the before filter, we will call the proper
// route instance to get the response. If no route is found a response will
// still get returned based on why no routes were found for this request.
$response = $this->callFilter('before', $request);
if (is_null($response))
{
$response = $this->dispatchToRoute($request);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
*/
protected function dispatchToRouter()
{
return function($request)
{
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
* @param \Closure $destination
* @return \Closure
*/
protected function getInitialSlice(Closure $destination)
{
return function($passable) use ($destination)
{
return call_user_func($destination, $passable);
};
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php
*
* @throws \Illuminate\Session\TokenMismatchException
*/
public function handle($request, Closure $next)
{
if ($this->isReading($request) || $this->tokensMatch($request))
{
return $this->addCookieToResponse($request, $next($request));
}
/home/alphapar/public_html/app/Http/Middleware/VerifyCsrfToken.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return parent::handle($request, $next);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php
// assume that some errors are always available, which is convenient since
// they don't have to continually run checks for the presence of errors.
else
{
$this->view->share('errors', new ViewErrorBag);
}
return $next($request);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/home/alphapar/public_html/vendor/xinax/laravel-gettext/src/Xinax/LaravelGettext/Middleware/GettextMiddleware.php
* The package need to be initialized, the locale will
* be available after first method call. If you have
* async calls in your project, this filter starts the
* locale environment before each request.
*/
LaravelGettext::getLocale();
return $next($request);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php
if ($this->sessionConfigured())
{
$session = $this->startSession($request);
$request->setSession($session);
}
$response = $next($request);
// Again, if the session has been configured we will need to close out the session
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php
*
* @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)
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
return $this->encrypt($next($this->decrypt($request)));
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php
public function handle($request, Closure $next)
{
if ($this->app->isDownForMaintenance())
{
throw new HttpException(503);
}
return $next($request);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
if ($pipe instanceof Closure)
{
return call_user_func($pipe, $passable, $stack);
}
else
{
return $this->container->make($pipe)
->{$this->method}($passable, $stack);
}
};
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php
{
$firstSlice = $this->getInitialSlice($destination);
$pipes = array_reverse($this->pipes);
return call_user_func(
array_reduce($pipes, $this->getSlice(), $firstSlice), $this->passable
);
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
Facade::clearResolvedInstance('request');
$this->bootstrap();
return (new Pipeline($this->app))
->send($request)
->through($this->middleware)
->then($this->dispatchToRouter());
}
/home/alphapar/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try
{
$response = $this->sendRequestThroughRouter($request);
}
catch (Exception $e)
/home/alphapar/public_html/public/index.php
|
*/
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();