Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException
No message Symfony\Component\HttpKernel\Exception\NotFoundHttpException thrown with message "" Stacktrace: #68 Symfony\Component\HttpKernel\Exception\NotFoundHttpException in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1129 #67 Illuminate\Foundation\Application:abort in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php:44 #66 abort in /home/naseemal/fajrsystem/addons/ns/aldf/subjects-module/src/Http/Controller/SpeechesController.php:29 #65 Aldf\SubjectsModule\Http\Controller\SpeechesController:view in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #64 Illuminate\Routing\Controller:callAction in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 #63 Illuminate\Routing\ControllerDispatcher:dispatch in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Route.php:261 #62 Illuminate\Routing\Route:runController in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Route.php:205 #61 Illuminate\Routing\Route:run in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:721 #60 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #59 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/CheckForMaintenanceMode.php:91 #58 Anomaly\Streams\Platform\Http\Middleware\CheckForMaintenanceMode:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #57 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/HttpCache.php:84 #56 Anomaly\Streams\Platform\Http\Middleware\HttpCache:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #55 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeRoutePermission.php:149 #54 Anomaly\UsersModule\Http\Middleware\AuthorizeRoutePermission:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #53 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeControlPanel.php:44 #52 Anomaly\UsersModule\Http\Middleware\AuthorizeControlPanel:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #51 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeModuleAccess.php:54 #50 Anomaly\UsersModule\Http\Middleware\AuthorizeModuleAccess:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #49 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeRouteRoles.php:139 #48 Anomaly\UsersModule\Http\Middleware\AuthorizeRouteRoles:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #47 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/CheckSecurity.php:47 #46 Anomaly\UsersModule\Http\Middleware\CheckSecurity:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #45 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/redirects-module/src/Http/Middleware/RedirectDomains.php:32 #44 Anomaly\RedirectsModule\Http\Middleware\RedirectDomains:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #43 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ApplicationReady.php:34 #42 Anomaly\Streams\Platform\Http\Middleware\ApplicationReady:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #41 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/CheckLocale.php:32 #40 Anomaly\Streams\Platform\Http\Middleware\CheckLocale:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #39 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php:114 #38 Anomaly\Streams\Platform\Http\Middleware\SetLocale:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #37 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/PrefixDomain.php:44 #36 Anomaly\Streams\Platform\Http\Middleware\PrefixDomain:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ForceSsl.php:49 #34 Anomaly\Streams\Platform\Http\Middleware\ForceSsl:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78 #32 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/VerifyCsrfToken.php:80 #31 Anomaly\Streams\Platform\Http\Middleware\VerifyCsrfToken:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/PoweredBy.php:26 #29 Anomaly\Streams\Platform\Http\Middleware\PoweredBy:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #28 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #27 Illuminate\Pipeline\Pipeline:then in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:719 #26 Illuminate\Routing\Router:runRouteWithinStack in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:698 #25 Illuminate\Routing\Router:runRoute in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:662 #24 Illuminate\Routing\Router:dispatchToRoute in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Routing/Router.php:651 #23 Illuminate\Routing\Router:dispatch in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:167 #22 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128 #21 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ProxySession.php:32 #20 Anomaly\Streams\Platform\Http\Middleware\ProxySession:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #18 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:67 #16 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #15 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #14 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121 #12 Illuminate\Session\Middleware\StartSession:handleStatefulRequest in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64 #11 Illuminate\Session\Middleware\StartSession:handle in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:103 #9 Illuminate\Pipeline\Pipeline:then in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:142 #8 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Kernel.php:132 #7 Anomaly\Streams\Platform\Http\Kernel:sendRequestThroughRouter in /home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:111 #6 Illuminate\Foundation\Http\Kernel:handle in /home/naseemal/fajrsystem/vendor/barryvdh/laravel-httpcache/src/CacheKernel.php:27 #5 Barryvdh\HttpCache\CacheKernel:handle in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86 #4 Symfony\Component\HttpKernel\HttpCache\SubRequestHandler:handle in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:481 #3 Symfony\Component\HttpKernel\HttpCache\HttpCache:forward in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:454 #2 Symfony\Component\HttpKernel\HttpCache\HttpCache:fetch in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:348 #1 Symfony\Component\HttpKernel\HttpCache\HttpCache:lookup in /home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php:226 #0 Symfony\Component\HttpKernel\HttpCache\HttpCache:handle in /home/naseemal/fajrsystem/public/index.php:54
68
Symfony\Component\HttpKernel\Exception\NotFoundHttpException
/vendor/laravel/framework/src/Illuminate/Foundation/Application.php1129
67
Illuminate\Foundation\Application abort
/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php44
66
abort
/addons/ns/aldf/subjects-module/src/Http/Controller/SpeechesController.php29
65
Aldf\SubjectsModule\Http\Controller\SpeechesController view
/vendor/laravel/framework/src/Illuminate/Routing/Controller.php54
64
Illuminate\Routing\Controller callAction
/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php45
63
Illuminate\Routing\ControllerDispatcher dispatch
/vendor/laravel/framework/src/Illuminate/Routing/Route.php261
62
Illuminate\Routing\Route runController
/vendor/laravel/framework/src/Illuminate/Routing/Route.php205
61
Illuminate\Routing\Route run
/vendor/laravel/framework/src/Illuminate/Routing/Router.php721
60
Illuminate\Routing\Router Illuminate\Routing\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
59
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/CheckForMaintenanceMode.php91
58
Anomaly\Streams\Platform\Http\Middleware\CheckForMaintenanceMode handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
57
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/HttpCache.php84
56
Anomaly\Streams\Platform\Http\Middleware\HttpCache handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
55
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeRoutePermission.php149
54
Anomaly\UsersModule\Http\Middleware\AuthorizeRoutePermission handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
53
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeControlPanel.php44
52
Anomaly\UsersModule\Http\Middleware\AuthorizeControlPanel handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
51
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeModuleAccess.php54
50
Anomaly\UsersModule\Http\Middleware\AuthorizeModuleAccess handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
49
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeRouteRoles.php139
48
Anomaly\UsersModule\Http\Middleware\AuthorizeRouteRoles handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
47
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/users-module/src/Http/Middleware/CheckSecurity.php47
46
Anomaly\UsersModule\Http\Middleware\CheckSecurity handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
45
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/redirects-module/src/Http/Middleware/RedirectDomains.php32
44
Anomaly\RedirectsModule\Http\Middleware\RedirectDomains handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
43
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/ApplicationReady.php34
42
Anomaly\Streams\Platform\Http\Middleware\ApplicationReady handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
41
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/CheckLocale.php32
40
Anomaly\Streams\Platform\Http\Middleware\CheckLocale handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
39
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php114
38
Anomaly\Streams\Platform\Http\Middleware\SetLocale handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
37
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/PrefixDomain.php44
36
Anomaly\Streams\Platform\Http\Middleware\PrefixDomain handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
35
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/ForceSsl.php49
34
Anomaly\Streams\Platform\Http\Middleware\ForceSsl handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
33
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php78
32
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken handle
/vendor/anomaly/streams-platform/src/Http/Middleware/VerifyCsrfToken.php80
31
Anomaly\Streams\Platform\Http\Middleware\VerifyCsrfToken handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
30
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/PoweredBy.php26
29
Anomaly\Streams\Platform\Http\Middleware\PoweredBy handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
28
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
27
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Routing/Router.php719
26
Illuminate\Routing\Router runRouteWithinStack
/vendor/laravel/framework/src/Illuminate/Routing/Router.php698
25
Illuminate\Routing\Router runRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php662
24
Illuminate\Routing\Router dispatchToRoute
/vendor/laravel/framework/src/Illuminate/Routing/Router.php651
23
Illuminate\Routing\Router dispatch
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php167
22
Illuminate\Foundation\Http\Kernel Illuminate\Foundation\Http\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php128
21
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/anomaly/streams-platform/src/Http/Middleware/ProxySession.php32
20
Anomaly\Streams\Platform\Http\Middleware\ProxySession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
19
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php37
18
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
17
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php67
16
Illuminate\Cookie\Middleware\EncryptCookies handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
15
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php49
14
Illuminate\View\Middleware\ShareErrorsFromSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
13
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php121
12
Illuminate\Session\Middleware\StartSession handleStatefulRequest
/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php64
11
Illuminate\Session\Middleware\StartSession handle
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php167
10
Illuminate\Pipeline\Pipeline Illuminate\Pipeline\{closure}
/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php103
9
Illuminate\Pipeline\Pipeline then
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php142
8
Illuminate\Foundation\Http\Kernel sendRequestThroughRouter
/vendor/anomaly/streams-platform/src/Http/Kernel.php132
7
Anomaly\Streams\Platform\Http\Kernel sendRequestThroughRouter
/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php111
6
Illuminate\Foundation\Http\Kernel handle
/vendor/barryvdh/laravel-httpcache/src/CacheKernel.php27
5
Barryvdh\HttpCache\CacheKernel handle
/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php86
4
Symfony\Component\HttpKernel\HttpCache\SubRequestHandler handle
/vendor/symfony/http-kernel/HttpCache/HttpCache.php481
3
Symfony\Component\HttpKernel\HttpCache\HttpCache forward
/vendor/symfony/http-kernel/HttpCache/HttpCache.php454
2
Symfony\Component\HttpKernel\HttpCache\HttpCache fetch
/vendor/symfony/http-kernel/HttpCache/HttpCache.php348
1
Symfony\Component\HttpKernel\HttpCache\HttpCache lookup
/vendor/symfony/http-kernel/HttpCache/HttpCache.php226
0
Symfony\Component\HttpKernel\HttpCache\HttpCache handle
/public/index.php54
/home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
    public function isDownForMaintenance()
    {
        return file_exists($this->storagePath().'/framework/down');
    }
 
    /**
     * Throw an HttpException with the given data.
     *
     * @param  int  $code
     * @param  string  $message
     * @param  array  $headers
     * @return never
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    public function abort($code, $message = '', array $headers = [])
    {
        if ($code == 404) {
            throw new NotFoundHttpException($message);
        }
 
        throw new HttpException($code, $message, null, $headers);
    }
 
    /**
     * Register a terminating callback with the application.
     *
     * @param  callable|string  $callback
     * @return $this
     */
    public function terminating($callback)
    {
        $this->terminatingCallbacks[] = $callback;
 
        return $this;
    }
 
    /**
     * Terminate the application.
Arguments
  1. ""
    
/home/naseemal/fajrsystem/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php
    /**
     * Throw an HttpException with the given data.
     *
     * @param  \Symfony\Component\HttpFoundation\Response|\Illuminate\Contracts\Support\Responsable|int  $code
     * @param  string  $message
     * @param  array  $headers
     * @return never
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    function abort($code, $message = '', array $headers = [])
    {
        if ($code instanceof Response) {
            throw new HttpResponseException($code);
        } elseif ($code instanceof Responsable) {
            throw new HttpResponseException($code->toResponse(request()));
        }
 
        app()->abort($code, $message, $headers);
    }
}
 
if (! function_exists('abort_if')) {
    /**
     * Throw an HttpException with the given data if the given condition is true.
     *
     * @param  bool  $boolean
     * @param  \Symfony\Component\HttpFoundation\Response|\Illuminate\Contracts\Support\Responsable|int  $code
     * @param  string  $message
     * @param  array  $headers
     * @return void
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    function abort_if($boolean, $code, $message = '', array $headers = [])
    {
        if ($boolean) {
            abort($code, $message, $headers);
/home/naseemal/fajrsystem/addons/ns/aldf/subjects-module/src/Http/Controller/SpeechesController.php
     *
     * @param String $slug
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function index($slug)
    {
        //
    }
 
    /**
     * Display an index of existing entries.
     *
     * @param String $slug
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function view($slug)
    {
        $speech = \Aldf\SubjectsModule\Speech\SpeechModel::where('slug',$slug)->first();
        if($speech == null)
        abort(404);
        $speech->description = nl2br(str_replace("<br />","",str_replace("\n\n","\n",str_replace("\n\n\n","\n",str_replace("\n\n","\n",$this->trimHereDoc($speech->description))))));
        $speech->save();
        $this->template->set('meta_title', $speech->name);
        return $this->view->make('aldf.module.subjects::speeches/view',[
            'entry' => $speech,
            ]);
    }
 
    protected function trimHereDoc($t)
    {
    return implode("\n", array_map('trim', explode("\n", $t)));
    }
 
}
 
/home/naseemal/fajrsystem/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
        ));
    }
}
 
/home/naseemal/fajrsystem/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']);
/home/naseemal/fajrsystem/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;
    }
 
/home/naseemal/fajrsystem/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/naseemal/fajrsystem/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/naseemal/fajrsystem/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.
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/CheckForMaintenanceMode.php
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request $request
     * @param  \Closure $next
     * @return void|mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if (!$this->application->isEnabled()) {
            abort(503);
        }
 
        if (
            !$this->app->isDownForMaintenance() &&
            !config('streams::maintenance.enabled', false)
        ) {
            return $next($request);
        }
 
        if ($request->segment(1) == 'admin' || str_is('form/handle/*', $request->path())) {
            return $next($request);
        }
 
        if (in_array($request->getClientIp(), config('streams::maintenance.ip_whitelist', []))) {
            return $next($request);
        }
 
        /* @var UserInterface $user */
        $user = $this->guard->user();
 
        if ($user && $user->isAdmin()) {
            return $next($request);
        }
 
        if ($user && $this->authorizer->authorize('streams::maintenance.access')) {
            return $next($request);
        }
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/HttpCache.php
     * @param MessageBag $messages
     */
    public function __construct(Agent $agent, Store $session, MessageBag $messages)
    {
        $this->agent    = $agent;
        $this->session  = $session;
        $this->messages = $messages;
    }
 
    /**
     * Handle the command.
     *
     * @param  Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, \Closure $next)
    {
        /* @var Response $response */
        $response = $next($request);
 
        /* @var Route $route */
        $route = $request->route();
 
        /**
         * Don't cache the admin.
         * And skip the rest.
         */
        if ($request->segment(1) == 'admin') {
            return $response->setTtl(0);
        }
 
        /**
         * Don't cache if redirect is desired.
         */
        if ($response instanceof RedirectResponse) {
            return $response->setTtl(0);
        }
 
        /**
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeRoutePermission.php
            }
 
            if ($intended !== false) {
                $this->session->put('url.intended', $request->fullUrl());
            }
 
            if ($redirect) {
                return $this->redirect->to($redirect);
            }
 
            $route = array_get($this->route->getAction(), 'anomaly.module.users::route');
 
            if ($route) {
                return $this->redirect->route($route);
            }
 
            abort(403);
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeControlPanel.php
     * Create a new AuthorizeControlPanel instance.
     *
     * @param Authorizer $authorizer
     */
    public function __construct(Authorizer $authorizer)
    {
        $this->authorizer = $authorizer;
    }
 
    /**
     * Check the authorization of module access.
     *
     * @param  Request  $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if ($request->segment(1) !== 'admin' || in_array($request->path(), ['admin/login', 'admin/logout'])) {
            return $next($request);
        }
 
        if (!$this->authorizer->authorize('streams::control_panel.access')) {
            abort(403);
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeModuleAccess.php
     * @param ModuleCollection $modules
     * @param Authorizer       $authorizer
     */
    public function __construct(ModuleCollection $modules, Authorizer $authorizer)
    {
        $this->modules    = $modules;
        $this->authorizer = $authorizer;
    }
 
    /**
     * Check the authorization of module access.
     *
     * @param  Request  $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if ($request->segment(1) !== 'admin' || in_array($request->path(), ['admin/login', 'admin/logout', 'admin'])) {
            return $next($request);
        }
 
        $module = $this->modules->active();
 
        if ($module && !$this->authorizer->authorize($module->getNamespace('*'))) {
            abort(403);
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/AuthorizeRouteRoles.php
            }
 
            if ($intended !== false) {
                $this->session->put('url.intended', $request->fullUrl());
            }
 
            if ($redirect) {
                return $this->redirect->to($redirect);
            }
 
            $route = array_get($this->route->getAction(), 'anomaly.module.users::route');
 
            if ($route) {
                return $this->redirect->route($route);
            }
 
            abort(403);
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/users-module/src/Http/Middleware/CheckSecurity.php
     * Create a new CheckSecurity instance.
     *
     * @param UserSecurity $security
     */
    public function __construct(UserSecurity $security)
    {
        $this->security = $security;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param Request $request
     * @param Closure $next
     * @return bool|\Illuminate\Http\RedirectResponse|mixed|string
     */
    public function handle(Request $request, Closure $next)
    {
        if ($request->segment(1) !== 'admin' || in_array($request->path(), ['admin/login', 'admin/logout'])) {
            return $next($request);
        }
 
        $response = $this->security->check(auth()->user());
 
        if ($response instanceof Response) {
            return $response;
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/redirects-module/src/Http/Middleware/RedirectDomains.php
 * @author Ryan Thompson <[email protected]>
 */
class RedirectDomains
{
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if (!file_exists($domains = app_storage_path('redirects/domains.php'))) {
            return $next($request);
        }
 
        if (!$domains = require $domains) {
            return $next($request);
        }
 
        if ($redirect = array_get($domains, $request->getHttpHost())) {
            return redirect(
                ($request->isSecure() ? 'https' : 'http') . '://' . array_get(
                    $redirect,
                    'to',
                    config('streams::system.domain')
                ) . '/' . trim($request->path(), '/'),
                $redirect['status'],
                [],
                config('streams::system.force_ssl', false) ?: $redirect['secure']
            );
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ApplicationReady.php
class ApplicationReady
{
 
    /**
     * Fire an event here as we enter the middleware
     * layer of the application so we can hook into it.
     *
     * @param  Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        $response = event(new ApplicationHasLoaded(), [], true);
 
        if ($response instanceof Response) {
            return $response;
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/CheckLocale.php
class CheckLocale
{
 
    /**
     * Look for locale=LOCALE in the query string.
     *
     * @param  Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
 
        /**
         * If there is no defined locale
         * from the kernel then we've
         * absolutely nothing to do.
         */
        if (!defined('LOCALE')) {
            return $next($request);
        }
 
        /**
         * Check and see if the locale
         * that's defined from the kernel
         * is present in our enabled locales.
         */
        if (!in_array(strtolower(LOCALE), config('streams::locales.enabled'))) {
            abort(404);
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/SetLocale.php
 
            Carbon::setLocale($locale);
 
            setlocale(LC_TIME, $this->locale->full($locale));
 
            config()->set('_locale', $locale);
        }
 
        if (!$locale) {
 
            $locale = $this->app->getLocale() ?: config('streams::locales.default');
 
            $this->application->setLocale($locale);
 
            Carbon::setLocale($locale);
 
            setlocale(LC_TIME, $this->locale->full($locale));
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/PrefixDomain.php
     * Create a new PoweredBy instance.
     *
     * @param Redirector $redirect
     */
    public function __construct(Redirector $redirect)
    {
        $this->redirect = $redirect;
    }
 
    /**
     * Force SSL connections.
     *
     * @param  Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        if (!$prefix = config('streams::system.domain_prefix')) {
            return $next($request);
        }
 
        if ($prefix == 'www' && !starts_with($request->getHost(), 'www.')) {
            return $this->redirect->to(
                preg_replace(
                    '/' . preg_quote($request->getHost()) . '/',
                    'www.' . $request->getHost(),
                    $request->fullUrl(),
                    1
                ),
                301
            );
        }
 
        if ($prefix == 'non-www' && starts_with($request->getHost(), 'www.')) {
            return $this->redirect->to(
                preg_replace(
                    '/' . preg_quote($request->getHost()) . '/',
                    str_replace('www.', '', $request->getHost()),
                    $request->fullUrl(),
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ForceSsl.php
    {
        $this->redirect = $redirect;
    }
 
    /**
     * Force SSL connections.
     *
     * @param  Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        $force = config('streams::system.force_ssl', false);
 
        if ($force && !$request->isSecure()) {
            return $this->redirect->secure($request->getRequestUri(), 301);
        }
 
        return $next($request);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/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']);
    }
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/VerifyCsrfToken.php
        $this->redirector = $redirector;
    }
 
    /**
     * 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->shouldPassThrough()) {
            return $this->addCookieToResponse($request, $next($request));
        }
 
        try {
            return parent::handle($request, $next);
        } catch (TokenMismatchException $exception) {
            $this->messages->error('streams::message.csrf_token_mismatch');
        }
 
        return $this->redirector->back(302);
    }
 
    /**
     * If the route disabled the
     * CSRF then we can skip it.
     *
     * @return bool
     */
    public function shouldPassThrough()
    {
        if (array_get($this->route->getAction(), 'csrf') === false) {
            return true;
        }
 
        return false;
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/PoweredBy.php
 * Class PoweredBy
 *
 * @link   http://pyrocms.com/
 * @author PyroCMS, Inc. <[email protected]>
 * @author Ryan Thompson <[email protected]>
 */
class PoweredBy
{
 
    /**
     * Say it loud.
     *
     * @param  Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        /* @var \Illuminate\Http\Response $response */
        $response = $next($request);
 
        $response->headers->set(
            'X-Streams-Distribution',
            config('streams::distribution.name') . '-' . config('streams::distribution.version')
        );
 
        return $response;
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/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
     */
/home/naseemal/fajrsystem/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();
 
/home/naseemal/fajrsystem/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)
/home/naseemal/fajrsystem/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;
    }
 
    /**
/home/naseemal/fajrsystem/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)
/home/naseemal/fajrsystem/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.
     *
/home/naseemal/fajrsystem/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.
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Middleware/ProxySession.php
 * @author Ryan Thompson <[email protected]>
 */
class ProxySession
{
 
    /**
     * Push the user check state to cookie
     * so that the services like HTTPCACHE
     * can keep up with activity within the
     * CMS which is generally bypassed early.
     *
     * @param Request $request
     * @param Closure $next
     * @return bool|\Illuminate\Http\RedirectResponse|mixed|string
     */
    public function handle(Request $request, Closure $next)
    {
        $check = auth()->check();
 
        $response = $next($request);
 
        if (method_exists($response, 'withCookie')) {
            return $response->withCookie(
                cookie('session_proxy', $check, $check ? config('session.lifetime', 120) : -1, null, null, $request->isSecure())
            );
        }
 
        return $response;
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/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;
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/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;
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/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);
    }
}
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/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
     */
/home/naseemal/fajrsystem/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;
 
/home/naseemal/fajrsystem/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, []);
 
/home/naseemal/fajrsystem/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
     */
/home/naseemal/fajrsystem/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()
/home/naseemal/fajrsystem/vendor/anomaly/streams-platform/src/Http/Kernel.php
    /**
     * Send the request through the router.
     *
     * This is the same as the parent logic
     * with the exception of "routeAutomatically"
     *
     * @param \Illuminate\Http\Request $request
     * @return \Illuminate\Http\Response
     */
    public function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        $this->routeAutomatically($request);
 
        return parent::sendRequestThroughRouter($request);
    }
 
    /**
     * Attempt to route the request automatically.
     *
     * Huge thanks to @frednwt for this one.
     *
     * @param Request $request
     */
    protected function routeAutomatically(Request $request)
    {
 
        /**
         * This only applies to admin
         * controllers at this time.
         */
        if ($request->segment(1) !== 'admin') {
            return;
        }
 
/home/naseemal/fajrsystem/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)
/home/naseemal/fajrsystem/vendor/barryvdh/laravel-httpcache/src/CacheKernel.php
use Symfony\Component\HttpKernel\HttpCache\Store;
use Symfony\Component\HttpKernel\HttpCache\SurrogateInterface;
use Symfony\Component\HttpKernel\HttpKernelInterface;
 
class CacheKernel implements HttpKernelInterface
{
    /** @var  Kernel */
    protected $kernel;
 
    protected function __construct(Kernel $kernel)
    {
        $this->kernel = $kernel;
    }
 
    /**
     * {@inheritdoc}
     */
    public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true)
    {
        return $this->kernel->handle($request);
    }
 
    /**
     * Wrap a Laravel Kernel in a Symfony HttpKernel
     *
     * @param Kernel $kernel
     * @param null $storagePath
     * @param SurrogateInterface|null $surrogate
     * @param array $options
     * @return Kernel|HttpCache
     */
    public static function wrap(Kernel $kernel, $storagePath = null, SurrogateInterface $surrogate = null, $options = [] )
    {
        $storagePath = $storagePath ?: storage_path('httpcache');
        $store = new Store($storagePath);
 
        $wrapper = new static($kernel);
        $kernel = new HttpCache($wrapper, $store, $surrogate, $options);
 
        return $kernel;
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php
        if (Request::HEADER_X_FORWARDED_FOR & $trustedHeaderSet) {
            $request->headers->set('X-Forwarded-For', $v = implode(', ', $trustedIps));
            $request->server->set('HTTP_X_FORWARDED_FOR', $v);
        } elseif (!(Request::HEADER_FORWARDED & $trustedHeaderSet)) {
            Request::setTrustedProxies($trustedProxies, $trustedHeaderSet | Request::HEADER_X_FORWARDED_FOR);
            $request->headers->set('X-Forwarded-For', $v = implode(', ', $trustedIps));
            $request->server->set('HTTP_X_FORWARDED_FOR', $v);
        }
 
        // fix the client IP address by setting it to 127.0.0.1,
        // which is the core responsibility of this method
        $request->server->set('REMOTE_ADDR', '127.0.0.1');
 
        // ensure 127.0.0.1 is set as trusted proxy
        if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
            Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
        }
 
        try {
            return $kernel->handle($request, $type, $catch);
        } finally {
            // restore global state
            Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
        }
    }
}
 
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
 
    /**
     * Forwards the Request to the backend and returns the Response.
     *
     * All backend requests (cache passes, fetches, cache validations)
     * run through this method.
     *
     * @param bool          $catch Whether to catch exceptions or not
     * @param Response|null $entry A Response instance (the stale entry if present, null otherwise)
     *
     * @return Response
     */
    protected function forward(Request $request, bool $catch = false, Response $entry = null)
    {
        if ($this->surrogate) {
            $this->surrogate->addSurrogateCapability($request);
        }
 
        // always a "master" request (as the real master request can be in cache)
        $response = SubRequestHandler::handle($this->kernel, $request, HttpKernelInterface::MAIN_REQUEST, $catch);
 
        /*
         * Support stale-if-error given on Responses or as a config option.
         * RFC 7234 summarizes in Section 4.2.4 (but also mentions with the individual
         * Cache-Control directives) that
         *
         *      A cache MUST NOT generate a stale response if it is prohibited by an
         *      explicit in-protocol directive (e.g., by a "no-store" or "no-cache"
         *      cache directive, a "must-revalidate" cache-response-directive, or an
         *      applicable "s-maxage" or "proxy-revalidate" cache-response-directive;
         *      see Section 5.2.2).
         *
         * https://tools.ietf.org/html/rfc7234#section-4.2.4
         *
         * We deviate from this in one detail, namely that we *do* serve entries in the
         * stale-if-error case even if they have a `s-maxage` Cache-Control directive.
         */
        if (null !== $entry
            && \in_array($response->getStatusCode(), [500, 502, 503, 504])
            && !$entry->headers->hasCacheControlDirective('no-cache')
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
     * stores it in the cache if is cacheable.
     *
     * @param bool $catch Whether to process exceptions
     *
     * @return Response
     */
    protected function fetch(Request $request, bool $catch = false)
    {
        $subRequest = clone $request;
 
        // send no head requests because we want content
        if ('HEAD' === $request->getMethod()) {
            $subRequest->setMethod('GET');
        }
 
        // avoid that the backend sends no content
        $subRequest->headers->remove('If-Modified-Since');
        $subRequest->headers->remove('If-None-Match');
 
        $response = $this->forward($subRequest, $catch);
 
        if ($response->isCacheable()) {
            $this->store($request, $response);
        }
 
        return $response;
    }
 
    /**
     * Forwards the Request to the backend and returns the Response.
     *
     * All backend requests (cache passes, fetches, cache validations)
     * run through this method.
     *
     * @param bool          $catch Whether to catch exceptions or not
     * @param Response|null $entry A Response instance (the stale entry if present, null otherwise)
     *
     * @return Response
     */
    protected function forward(Request $request, bool $catch = false, Response $entry = null)
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
     * @throws \Exception
     */
    protected function lookup(Request $request, bool $catch = false)
    {
        try {
            $entry = $this->store->lookup($request);
        } catch (\Exception $e) {
            $this->record($request, 'lookup-failed');
 
            if ($this->options['debug']) {
                throw $e;
            }
 
            return $this->pass($request, $catch);
        }
 
        if (null === $entry) {
            $this->record($request, 'miss');
 
            return $this->fetch($request, $catch);
        }
 
        if (!$this->isFreshEnough($request, $entry)) {
            $this->record($request, 'stale');
 
            return $this->validate($request, $entry, $catch);
        }
 
        if ($entry->headers->hasCacheControlDirective('no-cache')) {
            return $this->validate($request, $entry, $catch);
        }
 
        $this->record($request, 'fresh');
 
        $entry->headers->set('Age', $entry->getAge());
 
        return $entry;
    }
 
    /**
/home/naseemal/fajrsystem/vendor/symfony/http-kernel/HttpCache/HttpCache.php
            if (null !== $this->surrogate) {
                $this->surrogateCacheStrategy = $this->surrogate->createCacheStrategy();
            }
        }
 
        $this->traces[$this->getTraceKey($request)] = [];
 
        if (!$request->isMethodSafe()) {
            $response = $this->invalidate($request, $catch);
        } elseif ($request->headers->has('expect') || !$request->isMethodCacheable()) {
            $response = $this->pass($request, $catch);
        } elseif ($this->options['allow_reload'] && $request->isNoCache()) {
            /*
                If allow_reload is configured and the client requests "Cache-Control: no-cache",
                reload the cache by fetching a fresh response and caching it (if possible).
            */
            $this->record($request, 'reload');
            $response = $this->fetch($request, $catch);
        } else {
            $response = $this->lookup($request, $catch);
        }
 
        $this->restoreResponseBody($request, $response);
 
        if (HttpKernelInterface::MAIN_REQUEST === $type) {
            $this->addTraces($response);
        }
 
        if (null !== $this->surrogate) {
            if (HttpKernelInterface::MAIN_REQUEST === $type) {
                $this->surrogateCacheStrategy->update($response);
            } else {
                $this->surrogateCacheStrategy->add($response);
            }
        }
 
        $response->prepare($request);
 
        $response->isNotModified($request);
 
/home/naseemal/fajrsystem/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);
 
$kernel = \Anomaly\Streams\Platform\Http\CacheKernel::wrap($kernel);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/naseemal/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/naseemal/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_AUTHORIZATION
""
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"34.204.181.19"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"866c61b46d047fed-IAD"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_COOKIE
""
HTTP_HOST
"www.naseemalsham.com"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_FOR
"34.204.181.19"
HTTP_X_FORWARDED_HOST
"www.naseemalsham.com"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"www.naseemalsham.com"
HTTP_X_REAL_IP
"34.204.181.19"
HTTP_X_VARNISH
"79615143"
PATH
"/bin:/usr/bin:/usr/local/php/bin"
PHPRC
"/home/naseemal"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZflWYaDlCtjDOAXD1CYncQAAAVI"
REDIRECT_URL
"/speeches/view/55004"
REMOTE_ADDR
"103.6.245.177"
REMOTE_PORT
"59010"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_URI
"/speeches/view/55004"
SCRIPT_FILENAME
"/home/naseemal/public_html/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"103.6.245.177"
SERVER_ADMIN
"[email protected]"
SERVER_NAME
"www.naseemalsham.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips"
UNIQUE_ID
"ZflWYaDlCtjDOAXD1CYncQAAAVI"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710839393.7413
REQUEST_TIME
1710839393
ORIGINAL_REQUEST_URI
"/speeches/view/55004"
APP_ENV
"production"
APP_DEBUG
"true"
INSTALLED
"true"
APP_KEY
"hlOJCcGNTaVY81AzS5LZsrHxmbAS9JOb"
DEBUG_BAR
"false"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"naseemal_sham"
DB_USERNAME
"naseemal_sham"
DB_PASSWORD
"muDlg6uDkrUZ"
APPLICATION_NAME
"nassem"
APPLICATION_DOMAIN
"naseemalsham.com"
APPLICATION_REFERENCE
"ns"
APP_URL
"https://naseemalsham.com"
ASSET_URL
"https://naseemalsham.com"
Key Value
APP_ENV
"production"
APP_DEBUG
"true"
INSTALLED
"true"
APP_KEY
"hlOJCcGNTaVY81AzS5LZsrHxmbAS9JOb"
DEBUG_BAR
"false"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_DATABASE
"naseemal_sham"
DB_USERNAME
"naseemal_sham"
DB_PASSWORD
"muDlg6uDkrUZ"
APPLICATION_NAME
"nassem"
APPLICATION_DOMAIN
"naseemalsham.com"
APPLICATION_REFERENCE
"ns"
APP_URL
"https://naseemalsham.com"
ASSET_URL
"https://naseemalsham.com"
0. Whoops\Handler\PrettyPageHandler