GuzzleHttp \ Exception \ RequestException
cURL error 3: URL rejected: Malformed input to a URL function (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) GuzzleHttp\Exception\RequestException thrown with message "cURL error 3: URL rejected: Malformed input to a URL function (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)" Stacktrace: #66 GuzzleHttp\Exception\RequestException in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186 #65 GuzzleHttp\Handler\CurlFactory:createRejection in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:149 #64 GuzzleHttp\Handler\CurlFactory:finishError in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:102 #63 GuzzleHttp\Handler\CurlFactory:finish in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43 #62 GuzzleHttp\Handler\CurlHandler:__invoke in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28 #61 GuzzleHttp\Handler\Proxy:GuzzleHttp\Handler\{closure} in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51 #60 GuzzleHttp\Handler\Proxy:GuzzleHttp\Handler\{closure} in /home/selcukorg/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37 #59 GuzzleHttp\PrepareBodyMiddleware:__invoke in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Middleware.php:30 #58 GuzzleHttp\Middleware:GuzzleHttp\{closure} in /home/selcukorg/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:70 #57 GuzzleHttp\RedirectMiddleware:__invoke in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Middleware.php:60 #56 GuzzleHttp\Middleware:GuzzleHttp\{closure} in /home/selcukorg/vendor/guzzlehttp/guzzle/src/HandlerStack.php:67 #55 GuzzleHttp\HandlerStack:__invoke in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Client.php:277 #54 GuzzleHttp\Client:transfer in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Client.php:125 #53 GuzzleHttp\Client:requestAsync in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Client.php:131 #52 GuzzleHttp\Client:request in /home/selcukorg/vendor/guzzlehttp/guzzle/src/Client.php:89 #51 GuzzleHttp\Client:__call in /home/selcukorg/app/Http/Controllers/Articles.php:65 #50 App\Http\Controllers\Articles:download in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #49 call_user_func_array in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54 #48 Illuminate\Routing\Controller:callAction in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45 #47 Illuminate\Routing\ControllerDispatcher:dispatch in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Route.php:219 #46 Illuminate\Routing\Route:runController in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Route.php:176 #45 Illuminate\Routing\Route:run in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682 #44 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 #43 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41 #42 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #41 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #40 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:75 #39 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #38 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #37 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49 #36 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #34 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63 #33 Illuminate\Session\Middleware\StartSession:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #31 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37 #30 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #29 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #28 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66 #27 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #26 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #25 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 #24 Illuminate\Pipeline\Pipeline:then in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Router.php:684 #23 Illuminate\Routing\Router:runRouteWithinStack in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Router.php:659 #22 Illuminate\Routing\Router:runRoute in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625 #21 Illuminate\Routing\Router:dispatchToRoute in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Router.php:614 #20 Illuminate\Routing\Router:dispatch in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176 #19 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30 #18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/fideloper/proxy/src/TrustProxies.php:57 #17 Fideloper\Proxy\TrustProxies:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 #14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31 #11 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27 #8 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62 #5 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:151 #4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 #3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 #2 Illuminate\Pipeline\Pipeline:then in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/selcukorg/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/selcukorg/public_html/index.php:55
66
GuzzleHttp
\
Exception
\
RequestException
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlFactory.php
186
65
GuzzleHttp
\
Handler
\
CurlFactory
createRejection
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlFactory.php
149
64
GuzzleHttp
\
Handler
\
CurlFactory
finishError
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlFactory.php
102
63
GuzzleHttp
\
Handler
\
CurlFactory
finish
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlHandler.php
43
62
GuzzleHttp
\
Handler
\
CurlHandler
__invoke
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
Proxy.php
28
61
GuzzleHttp
\
Handler
\
Proxy
GuzzleHttp
\
Handler
\
{closure}
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
Proxy.php
51
60
GuzzleHttp
\
Handler
\
Proxy
GuzzleHttp
\
Handler
\
{closure}
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
PrepareBodyMiddleware.php
37
59
GuzzleHttp
\
PrepareBodyMiddleware
__invoke
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Middleware.php
30
58
GuzzleHttp
\
Middleware
GuzzleHttp
\
{closure}
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
RedirectMiddleware.php
70
57
GuzzleHttp
\
RedirectMiddleware
__invoke
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Middleware.php
60
56
GuzzleHttp
\
Middleware
GuzzleHttp
\
{closure}
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
HandlerStack.php
67
55
GuzzleHttp
\
HandlerStack
__invoke
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
277
54
GuzzleHttp
\
Client
transfer
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
125
53
GuzzleHttp
\
Client
requestAsync
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
131
52
GuzzleHttp
\
Client
request
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
89
51
GuzzleHttp
\
Client
__call
/
app
/
Http
/
Controllers
/
Articles.php
65
50
App
\
Http
\
Controllers
\
Articles
download
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
54
49
call_user_func_array
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Controller.php
54
48
Illuminate
\
Routing
\
Controller
callAction
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
ControllerDispatcher.php
45
47
Illuminate
\
Routing
\
ControllerDispatcher
dispatch
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
219
46
Illuminate
\
Routing
\
Route
runController
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
176
45
Illuminate
\
Routing
\
Route
run
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
682
44
Illuminate
\
Routing
\
Router
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
30
43
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Middleware
/
SubstituteBindings.php
41
42
Illuminate
\
Routing
\
Middleware
\
SubstituteBindings
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
41
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
40
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
VerifyCsrfToken.php
75
39
Illuminate
\
Foundation
\
Http
\
Middleware
\
VerifyCsrfToken
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
38
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
37
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
View
/
Middleware
/
ShareErrorsFromSession.php
49
36
Illuminate
\
View
\
Middleware
\
ShareErrorsFromSession
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
35
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
34
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
63
33
Illuminate
\
Session
\
Middleware
\
StartSession
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
32
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
31
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
AddQueuedCookiesToResponse.php
37
30
Illuminate
\
Cookie
\
Middleware
\
AddQueuedCookiesToResponse
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
29
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
28
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
EncryptCookies.php
66
27
Illuminate
\
Cookie
\
Middleware
\
EncryptCookies
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
26
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
25
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
104
24
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
684
23
Illuminate
\
Routing
\
Router
runRouteWithinStack
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
659
22
Illuminate
\
Routing
\
Router
runRoute
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
625
21
Illuminate
\
Routing
\
Router
dispatchToRoute
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
614
20
Illuminate
\
Routing
\
Router
dispatch
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
176
19
Illuminate
\
Foundation
\
Http
\
Kernel
Illuminate
\
Foundation
\
Http
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
30
18
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
fideloper
/
proxy
/
src
/
TrustProxies.php
57
17
Fideloper
\
Proxy
\
TrustProxies
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
16
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
15
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
TransformsRequest.php
31
14
Illuminate
\
Foundation
\
Http
\
Middleware
\
TransformsRequest
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
13
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
12
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
TransformsRequest.php
31
11
Illuminate
\
Foundation
\
Http
\
Middleware
\
TransformsRequest
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
10
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
9
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
ValidatePostSize.php
27
8
Illuminate
\
Foundation
\
Http
\
Middleware
\
ValidatePostSize
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
7
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
6
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
CheckForMaintenanceMode.php
62
5
Illuminate
\
Foundation
\
Http
\
Middleware
\
CheckForMaintenanceMode
handle
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
151
4
Illuminate
\
Pipeline
\
Pipeline
Illuminate
\
Pipeline
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
53
3
Illuminate
\
Routing
\
Pipeline
Illuminate
\
Routing
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Pipeline
/
Pipeline.php
104
2
Illuminate
\
Pipeline
\
Pipeline
then
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
151
1
Illuminate
\
Foundation
\
Http
\
Kernel
sendRequestThroughRouter
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
116
0
Illuminate
\
Foundation
\
Http
\
Kernel
handle
/
public_html
/
index.php
55
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlFactory.php
                    'An error was encountered during the on_headers event',
                    $easy->request,
                    $easy->response,
                    $easy->onHeadersException,
                    $ctx
                )
            );
        }
 
        $message = sprintf(
            'cURL error %s: %s (%s)',
            $ctx['errno'],
            $ctx['error'],
            'see http://curl.haxx.se/libcurl/c/libcurl-errors.html'
        );
 
        // Create a connection exception if it was a specific error code.
        $error = isset($connectionErrors[$easy->errno])
            ? new ConnectException($message, $easy->request, null, $ctx)
            : new RequestException($message, $easy->request, $easy->response, null, $ctx);
 
        return \GuzzleHttp\Promise\rejection_for($error);
    }
 
    private function getDefaultConf(EasyHandle $easy)
    {
        $conf = [
            '_headers'             => $easy->request->getHeaders(),
            CURLOPT_CUSTOMREQUEST  => $easy->request->getMethod(),
            CURLOPT_URL            => (string) $easy->request->getUri()->withFragment(''),
            CURLOPT_RETURNTRANSFER => false,
            CURLOPT_HEADER         => false,
            CURLOPT_CONNECTTIMEOUT => 150,
        ];
 
        if (defined('CURLOPT_PROTOCOLS')) {
            $conf[CURLOPT_PROTOCOLS] = CURLPROTO_HTTP | CURLPROTO_HTTPS;
        }
 
        $version = $easy->request->getProtocolVersion();
Arguments
  1. "cURL error 3: URL rejected: Malformed input to a URL function (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)"
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlFactory.php
    private static function finishError(
        callable $handler,
        EasyHandle $easy,
        CurlFactoryInterface $factory
    ) {
        // Get error information and release the handle to the factory.
        $ctx = [
            'errno' => $easy->errno,
            'error' => curl_error($easy->handle),
        ] + curl_getinfo($easy->handle);
        $factory->release($easy);
 
        // Retry when nothing is present or when curl failed to rewind.
        if (empty($easy->options['_err_message'])
            && (!$easy->errno || $easy->errno == 65)
        ) {
            return self::retryFailedRewind($handler, $easy, $ctx);
        }
 
        return self::createRejection($easy, $ctx);
    }
 
    private static function createRejection(EasyHandle $easy, array $ctx)
    {
        static $connectionErrors = [
            CURLE_OPERATION_TIMEOUTED  => true,
            CURLE_COULDNT_RESOLVE_HOST => true,
            CURLE_COULDNT_CONNECT      => true,
            CURLE_SSL_CONNECT_ERROR    => true,
            CURLE_GOT_NOTHING          => true,
        ];
 
        // If an exception was encountered during the onHeaders event, then
        // return a rejected promise that wraps that exception.
        if ($easy->onHeadersException) {
            return \GuzzleHttp\Promise\rejection_for(
                new RequestException(
                    'An error was encountered during the on_headers event',
                    $easy->request,
                    $easy->response,
Arguments
  1. EasyHandle {#249}
    
  2. array:39 [
      "errno" => 3
      "error" => "URL rejected: Malformed input to a URL function"
      "url" => ""
      "content_type" => null
      "http_code" => 0
      "header_size" => 0
      "request_size" => 0
      "filetime" => -1
      "ssl_verify_result" => 0
      "redirect_count" => 0
      "total_time" => 0.0
      "namelookup_time" => 0.0
      "connect_time" => 0.0
      "pretransfer_time" => 0.0
      "size_upload" => 0.0
      "size_download" => 0.0
      "speed_download" => 0.0
      "speed_upload" => 0.0
      "download_content_length" => -1.0
      "upload_content_length" => -1.0
      "starttransfer_time" => 0.0
      "redirect_time" => 0.0
      "redirect_url" => ""
      "primary_ip" => ""
      "certinfo" => []
      "primary_port" => 0
      "local_ip" => ""
      "local_port" => 0
      "http_version" => 0
      "protocol" => 0
      "ssl_verifyresult" => 0
      "scheme" => ""
      "appconnect_time_us" => 0
      "connect_time_us" => 0
      "namelookup_time_us" => 0
      "pretransfer_time_us" => 0
      "redirect_time_us" => 0
      "starttransfer_time_us" => 0
      "total_time_us" => 0
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlFactory.php
     * Completes a cURL transaction, either returning a response promise or a
     * rejected promise.
     *
     * @param callable             $handler
     * @param EasyHandle           $easy
     * @param CurlFactoryInterface $factory Dictates how the handle is released
     *
     * @return \GuzzleHttp\Promise\PromiseInterface
     */
    public static function finish(
        callable $handler,
        EasyHandle $easy,
        CurlFactoryInterface $factory
    ) {
        if (isset($easy->options['on_stats'])) {
            self::invokeStats($easy);
        }
 
        if (!$easy->response || $easy->errno) {
            return self::finishError($handler, $easy, $factory);
        }
 
        // Return the response if it is present and there is no error.
        $factory->release($easy);
 
        // Rewind the body of the response if possible.
        $body = $easy->response->getBody();
        if ($body->isSeekable()) {
            $body->rewind();
        }
 
        return new FulfilledPromise($easy->response);
    }
 
    private static function invokeStats(EasyHandle $easy)
    {
        $curlStats = curl_getinfo($easy->handle);
        $stats = new TransferStats(
            $easy->request,
            $easy->response,
Arguments
  1. CurlHandler {#238}
    
  2. EasyHandle {#249}
    
  3. CurlFactory {#229}
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
CurlHandler.php
     * @param array $options Array of options to use with the handler
     */
    public function __construct(array $options = [])
    {
        $this->factory = isset($options['handle_factory'])
            ? $options['handle_factory']
            : new CurlFactory(3);
    }
 
    public function __invoke(RequestInterface $request, array $options)
    {
        if (isset($options['delay'])) {
            usleep($options['delay'] * 1000);
        }
 
        $easy = $this->factory->create($request, $options);
        curl_exec($easy->handle);
        $easy->errno = curl_errno($easy->handle);
 
        return CurlFactory::finish($this, $easy, $this->factory);
    }
}
 
Arguments
  1. CurlHandler {#238}
    
  2. EasyHandle {#249}
    
  3. CurlFactory {#229}
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
Proxy.php
 */
class Proxy
{
    /**
     * Sends synchronous requests to a specific handler while sending all other
     * requests to another handler.
     *
     * @param callable $default Handler used for normal responses
     * @param callable $sync    Handler used for synchronous responses.
     *
     * @return callable Returns the composed handler.
     */
    public static function wrapSync(
        callable $default,
        callable $sync
    ) {
        return function (RequestInterface $request, array $options) use ($default, $sync) {
            return empty($options[RequestOptions::SYNCHRONOUS])
                ? $default($request, $options)
                : $sync($request, $options);
        };
    }
 
    /**
     * Sends streaming requests to a streaming compatible handler while sending
     * all other requests to a default handler.
     *
     * This, for example, could be useful for taking advantage of the
     * performance benefits of curl while still supporting true streaming
     * through the StreamHandler.
     *
     * @param callable $default   Handler used for non-streaming responses
     * @param callable $streaming Handler used for streaming responses
     *
     * @return callable Returns the composed handler.
     */
    public static function wrapStreaming(
        callable $default,
        callable $streaming
    ) {
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => array:5 [
        "max" => 5
        "protocols" => array:2 [
          0 => "http"
          1 => "https"
        ]
        "strict" => false
        "referer" => false
        "track_redirects" => false
      ]
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Handler
/
Proxy.php
    /**
     * Sends streaming requests to a streaming compatible handler while sending
     * all other requests to a default handler.
     *
     * This, for example, could be useful for taking advantage of the
     * performance benefits of curl while still supporting true streaming
     * through the StreamHandler.
     *
     * @param callable $default   Handler used for non-streaming responses
     * @param callable $streaming Handler used for streaming responses
     *
     * @return callable Returns the composed handler.
     */
    public static function wrapStreaming(
        callable $default,
        callable $streaming
    ) {
        return function (RequestInterface $request, array $options) use ($default, $streaming) {
            return empty($options['stream'])
                ? $default($request, $options)
                : $streaming($request, $options);
        };
    }
}
 
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => array:5 [
        "max" => 5
        "protocols" => array:2 [
          0 => "http"
          1 => "https"
        ]
        "strict" => false
        "referer" => false
        "track_redirects" => false
      ]
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
PrepareBodyMiddleware.php
     * @param callable $nextHandler Next handler to invoke.
     */
    public function __construct(callable $nextHandler)
    {
        $this->nextHandler = $nextHandler;
    }
 
    /**
     * @param RequestInterface $request
     * @param array            $options
     *
     * @return PromiseInterface
     */
    public function __invoke(RequestInterface $request, array $options)
    {
        $fn = $this->nextHandler;
 
        // Don't do anything if the request has no body.
        if ($request->getBody()->getSize() === 0) {
            return $fn($request, $options);
        }
 
        $modify = [];
 
        // Add a default content-type if possible.
        if (!$request->hasHeader('Content-Type')) {
            if ($uri = $request->getBody()->getMetadata('uri')) {
                if ($type = Psr7\mimetype_from_filename($uri)) {
                    $modify['set_headers']['Content-Type'] = $type;
                }
            }
        }
 
        // Add a default content-length or transfer-encoding header.
        if (!$request->hasHeader('Content-Length')
            && !$request->hasHeader('Transfer-Encoding')
        ) {
            $size = $request->getBody()->getSize();
            if ($size !== null) {
                $modify['set_headers']['Content-Length'] = $size;
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => array:5 [
        "max" => 5
        "protocols" => array:2 [
          0 => "http"
          1 => "https"
        ]
        "strict" => false
        "referer" => false
        "track_redirects" => false
      ]
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Middleware.php
 
/**
 * Functions used to create and wrap handlers with handler middleware.
 */
final class Middleware
{
    /**
     * Middleware that adds cookies to requests.
     *
     * The options array must be set to a CookieJarInterface in order to use
     * cookies. This is typically handled for you by a client.
     *
     * @return callable Returns a function that accepts the next handler.
     */
    public static function cookies()
    {
        return function (callable $handler) {
            return function ($request, array $options) use ($handler) {
                if (empty($options['cookies'])) {
                    return $handler($request, $options);
                } elseif (!($options['cookies'] instanceof CookieJarInterface)) {
                    throw new \InvalidArgumentException('cookies must be an instance of GuzzleHttp\Cookie\CookieJarInterface');
                }
                $cookieJar = $options['cookies'];
                $request = $cookieJar->withCookieHeader($request);
                return $handler($request, $options)
                    ->then(
                        function ($response) use ($cookieJar, $request) {
                            $cookieJar->extractCookies($request, $response);
                            return $response;
                        }
                );
            };
        };
    }
 
    /**
     * Middleware that throws exceptions for 4xx or 5xx responses when the
     * "http_error" request option is set to true.
     *
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => array:5 [
        "max" => 5
        "protocols" => array:2 [
          0 => "http"
          1 => "https"
        ]
        "strict" => false
        "referer" => false
        "track_redirects" => false
      ]
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
RedirectMiddleware.php
        $fn = $this->nextHandler;
 
        if (empty($options['allow_redirects'])) {
            return $fn($request, $options);
        }
 
        if ($options['allow_redirects'] === true) {
            $options['allow_redirects'] = self::$defaultSettings;
        } elseif (!is_array($options['allow_redirects'])) {
            throw new \InvalidArgumentException('allow_redirects must be true, false, or array');
        } else {
            // Merge the default settings with the provided settings
            $options['allow_redirects'] += self::$defaultSettings;
        }
 
        if (empty($options['allow_redirects']['max'])) {
            return $fn($request, $options);
        }
 
        return $fn($request, $options)
            ->then(function (ResponseInterface $response) use ($request, $options) {
                return $this->checkRedirect($request, $options, $response);
            });
    }
 
    /**
     * @param RequestInterface  $request
     * @param array             $options
     * @param ResponseInterface|PromiseInterface $response
     *
     * @return ResponseInterface|PromiseInterface
     */
    public function checkRedirect(
        RequestInterface $request,
        array $options,
        ResponseInterface $response
    ) {
        if (substr($response->getStatusCode(), 0, 1) != '3'
            || !$response->hasHeader('Location')
        ) {
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => array:5 [
        "max" => 5
        "protocols" => array:2 [
          0 => "http"
          1 => "https"
        ]
        "strict" => false
        "referer" => false
        "track_redirects" => false
      ]
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Middleware.php
                        }
                );
            };
        };
    }
 
    /**
     * Middleware that throws exceptions for 4xx or 5xx responses when the
     * "http_error" request option is set to true.
     *
     * @return callable Returns a function that accepts the next handler.
     */
    public static function httpErrors()
    {
        return function (callable $handler) {
            return function ($request, array $options) use ($handler) {
                if (empty($options['http_errors'])) {
                    return $handler($request, $options);
                }
                return $handler($request, $options)->then(
                    function (ResponseInterface $response) use ($request, $handler) {
                        $code = $response->getStatusCode();
                        if ($code < 400) {
                            return $response;
                        }
                        throw RequestException::create($request, $response);
                    }
                );
            };
        };
    }
 
    /**
     * Middleware that pushes history data to an ArrayAccess container.
     *
     * @param array|\ArrayAccess $container Container to hold the history (by reference).
     *
     * @return callable Returns a function that accepts the next handler.
     * @throws \InvalidArgumentException if container is not an array or ArrayAccess.
     */
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => array:5 [
        "max" => 5
        "protocols" => array:2 [
          0 => "http"
          1 => "https"
        ]
        "strict" => false
        "referer" => false
        "track_redirects" => false
      ]
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
HandlerStack.php
 
    /**
     * @param callable $handler Underlying HTTP handler.
     */
    public function __construct(callable $handler = null)
    {
        $this->handler = $handler;
    }
 
    /**
     * Invokes the handler stack as a composed handler
     *
     * @param RequestInterface $request
     * @param array            $options
     */
    public function __invoke(RequestInterface $request, array $options)
    {
        $handler = $this->resolve();
 
        return $handler($request, $options);
    }
 
    /**
     * Dumps a string representation of the stack.
     *
     * @return string
     */
    public function __toString()
    {
        $depth = 0;
        $stack = [];
        if ($this->handler) {
            $stack[] = "0) Handler: " . $this->debugCallable($this->handler);
        }
 
        $result = '';
        foreach (array_reverse($this->stack) as $tuple) {
            $depth++;
            $str = "{$depth}) Name: '{$tuple[1]}', ";
            $str .= "Function: " . $this->debugCallable($tuple[0]);
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => true
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
     */
    private function transfer(RequestInterface $request, array $options)
    {
        // save_to -> sink
        if (isset($options['save_to'])) {
            $options['sink'] = $options['save_to'];
            unset($options['save_to']);
        }
 
        // exceptions -> http_errors
        if (isset($options['exceptions'])) {
            $options['http_errors'] = $options['exceptions'];
            unset($options['exceptions']);
        }
 
        $request = $this->applyOptions($request, $options);
        $handler = $options['handler'];
 
        try {
            return Promise\promise_for($handler($request, $options));
        } catch (\Exception $e) {
            return Promise\rejection_for($e);
        }
    }
 
    /**
     * Applies the array of request options to a request.
     *
     * @param RequestInterface $request
     * @param array            $options
     *
     * @return RequestInterface
     */
    private function applyOptions(RequestInterface $request, array &$options)
    {
        $modify = [
            'set_headers' => [],
        ];
 
        if (isset($options['headers'])) {
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => true
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
        return $this->sendAsync($request, $options)->wait();
    }
 
    public function requestAsync($method, $uri = '', array $options = [])
    {
        $options = $this->prepareDefaults($options);
        // Remove request modifying parameter because it can be done up-front.
        $headers = isset($options['headers']) ? $options['headers'] : [];
        $body = isset($options['body']) ? $options['body'] : null;
        $version = isset($options['version']) ? $options['version'] : '1.1';
        // Merge the URI into the base URI.
        $uri = $this->buildUri($uri, $options);
        if (is_array($body)) {
            $this->invalidBody();
        }
        $request = new Psr7\Request($method, $uri, $headers, $body, $version);
        // Remove the option so that they are not doubly-applied.
        unset($options['headers'], $options['body'], $options['version']);
 
        return $this->transfer($request, $options);
    }
 
    public function request($method, $uri = '', array $options = [])
    {
        $options[RequestOptions::SYNCHRONOUS] = true;
        return $this->requestAsync($method, $uri, $options)->wait();
    }
 
    public function getConfig($option = null)
    {
        return $option === null
            ? $this->config
            : (isset($this->config[$option]) ? $this->config[$option] : null);
    }
 
    private function buildUri($uri, array $config)
    {
        // for BC we accept null which would otherwise fail in uri_for
        $uri = Psr7\uri_for($uri === null ? '' : $uri);
 
Arguments
  1. Request {#245}
    
  2. array:8 [
      "allow_redirects" => true
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
        // Remove request modifying parameter because it can be done up-front.
        $headers = isset($options['headers']) ? $options['headers'] : [];
        $body = isset($options['body']) ? $options['body'] : null;
        $version = isset($options['version']) ? $options['version'] : '1.1';
        // Merge the URI into the base URI.
        $uri = $this->buildUri($uri, $options);
        if (is_array($body)) {
            $this->invalidBody();
        }
        $request = new Psr7\Request($method, $uri, $headers, $body, $version);
        // Remove the option so that they are not doubly-applied.
        unset($options['headers'], $options['body'], $options['version']);
 
        return $this->transfer($request, $options);
    }
 
    public function request($method, $uri = '', array $options = [])
    {
        $options[RequestOptions::SYNCHRONOUS] = true;
        return $this->requestAsync($method, $uri, $options)->wait();
    }
 
    public function getConfig($option = null)
    {
        return $option === null
            ? $this->config
            : (isset($this->config[$option]) ? $this->config[$option] : null);
    }
 
    private function buildUri($uri, array $config)
    {
        // for BC we accept null which would otherwise fail in uri_for
        $uri = Psr7\uri_for($uri === null ? '' : $uri);
 
        if (isset($config['base_uri'])) {
            $uri = Psr7\UriResolver::resolve(Psr7\uri_for($config['base_uri']), $uri);
        }
 
        return $uri->getScheme() === '' && $uri->getHost() !== '' ? $uri->withScheme('http') : $uri;
    }
Arguments
  1. "get"
    
  2. Uri {#241}
    
  3. array:9 [
      "allow_redirects" => true
      "synchronous" => true
      "auth" => array:2 [
        0 => "selcodiyebiri"
        1 => "bgiwapqvhbvoxogc"
      ]
      "handler" => HandlerStack {#228}
      "http_errors" => true
      "decode_content" => true
      "verify" => true
      "cookies" => false
      "_conditional" => array:1 [
        "User-Agent" => "GuzzleHttp/6.3.3 curl/8.6.0 PHP/7.4.33"
      ]
    ]
    
/
home
/
selcukorg
/
vendor
/
guzzlehttp
/
guzzle
/
src
/
Client.php
        // Convert the base_uri to a UriInterface
        if (isset($config['base_uri'])) {
            $config['base_uri'] = Psr7\uri_for($config['base_uri']);
        }
 
        $this->configureDefaults($config);
    }
 
    public function __call($method, $args)
    {
        if (count($args) < 1) {
            throw new \InvalidArgumentException('Magic request methods require a URI and optional options array');
        }
 
        $uri = $args[0];
        $opts = isset($args[1]) ? $args[1] : [];
 
        return substr($method, -5) === 'Async'
            ? $this->requestAsync(substr($method, 0, -5), $uri, $opts)
            : $this->request($method, $uri, $opts);
    }
 
    public function sendAsync(RequestInterface $request, array $options = [])
    {
        // Merge the base URI into the request URI if needed.
        $options = $this->prepareDefaults($options);
 
        return $this->transfer(
            $request->withUri($this->buildUri($request->getUri(), $options), $request->hasHeader('Host')),
            $options
        );
    }
 
    public function send(RequestInterface $request, array $options = [])
    {
        $options[RequestOptions::SYNCHRONOUS] = true;
        return $this->sendAsync($request, $options)->wait();
    }
 
    public function requestAsync($method, $uri = '', array $options = [])
Arguments
  1. "get"
    
  2. ""
    
  3. array:2 [
      "allow_redirects" => true
      "synchronous" => true
    ]
    
/
home
/
selcukorg
/
app
/
Http
/
Controllers
/
Articles.php
    {
        # Decrypt id
        $article_id = Crypt::decryptString($id);
 
        # get settings
        $setting = Setting::find(1);
 
        # get current article
        $article = Article::select("file", "file_download_count")->where('id', $article_id)->firstOrFail();
 
        # download count update
        $file_download_count = $article->file_download_count + 1;
        Article::find($article_id)->update([
            'file_download_count' => $file_download_count
        ]);
 
        # File read
        $client = new Client(['auth' => [$setting->yApiUser, $setting->yApiPassword]]);
        $request = $client->get($article->file, [
            'allow_redirects' => true
        ]);
        $uploaded_file = $request->getBody();
        $file_name = generate_file_name($article->file);
 
        # Download
        return Response::make($uploaded_file, '200', [
            'Content-Type' => 'application/octet-stream',
            'Content-Disposition' => 'attachment; filename="'.$file_name.'"'
        ]);
    }
 
    public static function datetime($date)
    {
        return Carbon::createFromTimestamp($date)->format('Y-m-d\TH:i:s.uP');
    }
}
 
Arguments
  1. "get"
    
  2. array:2 [
      0 => ""
      1 => array:1 [
        "allow_redirects" => true
      ]
    ]
    
/
home
/
selcukorg
/
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 call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
Arguments
  1. "eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
    
/
home
/
selcukorg
/
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 call_user_func_array([$this, $method], $parameters);
    }
 
    /**
     * Handle calls to missing methods on the controller.
     *
     * @param  string  $method
     * @param  array   $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        throw new BadMethodCallException(sprintf(
            'Method %s::%s does not exist.', static::class, $method
        ));
    }
}
 
Arguments
  1. array:2 [
      0 => Articles {#176}
      1 => "download"
    ]
    
  2. array:1 [
      "id" => "eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
    ]
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
ControllerDispatcher.php
    {
        $this->container = $container;
    }
 
    /**
     * Dispatch a request to a given controller and method.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  mixed  $controller
     * @param  string  $method
     * @return mixed
     */
    public function dispatch(Route $route, $controller, $method)
    {
        $parameters = $this->resolveClassMethodDependencies(
            $route->parametersWithoutNulls(), $controller, $method
        );
 
        if (method_exists($controller, 'callAction')) {
            return $controller->callAction($method, $parameters);
        }
 
        return $controller->{$method}(...array_values($parameters));
    }
 
    /**
     * Get the middleware for the controller instance.
     *
     * @param  \Illuminate\Routing\Controller  $controller
     * @param  string  $method
     * @return array
     */
    public function getMiddleware($controller, $method)
    {
        if (! method_exists($controller, 'getMiddleware')) {
            return [];
        }
 
        return collect($controller->getMiddleware())->reject(function ($data) use ($method) {
            return static::methodExcludedByOptions($method, $data['options']);
Arguments
  1. "download"
    
  2. array:1 [
      "id" => "eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
    ]
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Route.php
    protected function runCallable()
    {
        $callable = $this->action['uses'];
 
        return $callable(...array_values($this->resolveMethodDependencies(
            $this->parametersWithoutNulls(), new ReflectionFunction($this->action['uses'])
        )));
    }
 
    /**
     * Run the route action and return the response.
     *
     * @return mixed
     *
     * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
     */
    protected function runController()
    {
        return $this->controllerDispatcher()->dispatch(
            $this, $this->getController(), $this->getControllerMethod()
        );
    }
 
    /**
     * Get the controller instance for the route.
     *
     * @return mixed
     */
    public function getController()
    {
        if (! $this->controller) {
            $class = $this->parseControllerCallback()[0];
 
            $this->controller = $this->container->make(ltrim($class, '\\'));
        }
 
        return $this->controller;
    }
 
    /**
Arguments
  1. Route {#138}
    
  2. Articles {#176}
    
  3. "download"
    
/
home
/
selcukorg
/
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']);
    }
 
    /**
     * Run the route action and return the response.
/
home
/
selcukorg
/
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)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * 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 (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Middleware
/
SubstituteBindings.php
     */
    public function __construct(Registrar $router)
    {
        $this->router = $router;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->router->substituteBindings($route = $request->route());
 
        $this->router->substituteImplicitBindings($route);
 
        return $next($request);
    }
}
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#187 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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;
    }
 
    /**
     * Determine if the HTTP request uses a ‘read’ verb.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function isReading($request)
    {
        return in_array($request->method(), ['HEAD', 'GET', 'OPTIONS']);
    }
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#192 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
View
/
Middleware
/
ShareErrorsFromSession.php
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        // If the current session has an "errors" variable bound to it, we will share
        // its value with all view instances so the views can easily access errors
        // without having to bind. An empty bag is set when there aren't errors.
        $this->view->share(
            'errors', $request->session()->get('errors') ?: new ViewErrorBag
        );
 
        // Putting the errors in the view for every view allows the developer to just
        // assume that some errors are always available, which is convenient since
        // they don't have to continually run checks for the presence of errors.
 
        return $next($request);
    }
}
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#193 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Middleware
/
StartSession.php
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $this->sessionHandled = true;
 
        // 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.
        if ($this->sessionConfigured()) {
            $request->setLaravelSession(
                $session = $this->startSession($request)
            );
 
            $this->collectGarbage($session);
        }
 
        $response = $next($request);
 
        // 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.
        if ($this->sessionConfigured()) {
            $this->storeCurrentUrl($request, $session);
 
            $this->addCookieToResponse($response, $session);
        }
 
        return $response;
    }
 
    /**
     * Perform any final actions for the request lifecycle.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Symfony\Component\HttpFoundation\Response  $response
     * @return void
     */
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#194 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Cookie
/
Middleware
/
AddQueuedCookiesToResponse.php
     * Create a new CookieQueue instance.
     *
     * @param  \Illuminate\Contracts\Cookie\QueueingFactory  $cookies
     * @return void
     */
    public function __construct(CookieJar $cookies)
    {
        $this->cookies = $cookies;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $response = $next($request);
 
        foreach ($this->cookies->getQueuedCookies() as $cookie) {
            $response->headers->setCookie($cookie);
        }
 
        return $response;
    }
}
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#195 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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)) {
                continue;
            }
 
            try {
                $request->cookies->set($key, $this->decryptCookie($key, $cookie));
            } catch (DecryptException $e) {
                $request->cookies->set($key, null);
            }
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#196 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
                        ->then(function ($request) use ($route) {
                            return $this->prepareResponse(
                                $request, $route->run()
                            );
                        });
    }
 
    /**
     * Gather the middleware for the given route with resolved class names.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @return array
     */
    public function gatherRouteMiddleware(Route $route)
    {
        $middleware = collect($route->gatherMiddleware())->map(function ($name) {
            return (array) MiddlewareNameResolver::resolve($name, $this->middleware, $this->middlewareGroups);
        })->flatten();
 
        return $this->sortMiddleware($middleware);
    }
 
    /**
     * Sort the given middleware by priority.
     *
Arguments
  1. Closure($request) {#186 …6}
    
/
home
/
selcukorg
/
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 mixed
     */
    protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });
 
        $this->events->dispatch(new Events\RouteMatched($route, $request));
 
        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
 
    /**
     * Run the given route within a Stack "onion" instance.
     *
     * @param  \Illuminate\Routing\Route  $route
     * @param  \Illuminate\Http\Request  $request
     * @return mixed
     */
    protected function runRouteWithinStack(Route $route, Request $request)
    {
        $shouldSkipMiddleware = $this->container->bound('middleware.disable') &&
                                $this->container->make('middleware.disable') === true;
 
        $middleware = $shouldSkipMiddleware ? [] : $this->gatherRouteMiddleware($route);
 
        return (new Pipeline($this->container))
                        ->send($request)
                        ->through($middleware)
Arguments
  1. Route {#138}
    
  2. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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 mixed
     */
    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);
 
        $this->container->instance(Route::class, $route);
 
        return $route;
    }
 
    /**
     * Return the response for the given route.
     *
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Route {#138}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Router.php
     * @return mixed
     */
    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 \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
     */
    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 mixed
     */
    public function dispatchToRoute(Request $request)
    {
        return $this->runRoute($request, $this->findRoute($request));
    }
 
    /**
     * Find the route matching a given request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Routing\Route
     */
    protected function findRoute($request)
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Illuminate\Http\Response  $response
     * @return void
     */
    public function terminate($request, $response)
    {
        $this->terminateMiddleware($request, $response);
 
        $this->app->terminate();
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
use Symfony\Component\Debug\Exception\FatalThrowableError;
 
/**
 * This extended pipeline catches any exceptions that occur during each slice.
 *
 * The exceptions are converted to HTTP responses for proper middleware handling.
 */
class Pipeline extends BasePipeline
{
    /**
     * 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 (Exception $e) {
                return $this->handleException($passable, $e);
            } catch (Throwable $e) {
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
fideloper
/
proxy
/
src
/
TrustProxies.php
    {
        $this->config = $config;
    }
 
    /**
     * Handle an incoming request.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Closure                 $next
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     *
     * @return mixed
     */
    public function handle(Request $request, Closure $next)
    {
        $request::setTrustedProxies([], $this->getTrustedHeaderNames()); // Reset trusted proxies between requests
        $this->setTrustedProxyIpAddresses($request);
 
        return $next($request);
    }
 
    /**
     * Sets the trusted proxies on the request to the value of trustedproxy.proxies
     *
     * @param \Illuminate\Http\Request $request
     */
    protected function setTrustedProxyIpAddresses(Request $request)
    {
        $trustedIps = $this->proxies ?: $this->config->get('trustedproxy.proxies');
 
        // Trust any IP address that calls us
        // `**` for backwards compatibility, but is deprecated
        if ($trustedIps === '*' || $trustedIps === '**') {
            return $this->setTrustedProxyIpAddressesToTheCallingIp($request);
        }
 
        // Support IPs addresses separated by comma
        $trustedIps = is_string($trustedIps) ? array_map('trim', explode(',', $trustedIps)) : $trustedIps;
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#134 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
TransformsRequest.php
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @param  array  ...$attributes
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#144 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
TransformsRequest.php
     *
     * @var array
     */
    protected $attributes = [];
 
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @param  array  ...$attributes
     * @return mixed
     */
    public function handle($request, Closure $next, ...$attributes)
    {
        $this->attributes = $attributes;
 
        $this->clean($request);
 
        return $next($request);
    }
 
    /**
     * Clean the request's data.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return void
     */
    protected function clean($request)
    {
        $this->cleanParameterBag($request->query);
 
        if ($request->isJson()) {
            $this->cleanParameterBag($request->json());
        } elseif ($request->request !== $request->query) {
            $this->cleanParameterBag($request->request);
        }
    }
 
    /**
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#153 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
ValidatePostSize.php
class ValidatePostSize
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     *
     * @throws \Illuminate\Http\Exceptions\PostTooLargeException
     */
    public function handle($request, Closure $next)
    {
        $max = $this->getPostMaxSize();
 
        if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) {
            throw new PostTooLargeException;
        }
 
        return $next($request);
    }
 
    /**
     * Determine the server 'post_max_size' as bytes.
     *
     * @return int
     */
    protected function getPostMaxSize()
    {
        if (is_numeric($postMaxSize = ini_get('post_max_size'))) {
            return (int) $postMaxSize;
        }
 
        $metric = strtoupper(substr($postMaxSize, -1));
        $postMaxSize = (int) $postMaxSize;
 
        switch ($metric) {
            case 'K':
                return $postMaxSize * 1024;
            case 'M':
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#154 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
CheckForMaintenanceMode.php
     *
     * @throws \Symfony\Component\HttpKernel\Exception\HttpException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()) {
            $data = json_decode(file_get_contents($this->app->storagePath().'/framework/down'), true);
 
            if (isset($data['allowed']) && IpUtils::checkIp($request->ip(), (array) $data['allowed'])) {
                return $next($request);
            }
 
            if ($this->inExceptArray($request)) {
                return $next($request);
            }
 
            throw new MaintenanceModeException($data['time'], $data['retry'], $data['message']);
        }
 
        return $next($request);
    }
 
    /**
     * Determine if the request has a URI that should be accessible in maintenance mode.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return bool
     */
    protected function inExceptArray($request)
    {
        foreach ($this->except as $except) {
            if ($except !== '/') {
                $except = trim($except, '/');
            }
 
            if ($request->fullUrlIs($except) || $request->is($except)) {
                return true;
            }
        }
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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];
                }
 
                $response = method_exists($pipe, $this->method)
                                ? $pipe->{$this->method}(...$parameters)
                                : $pipe(...$parameters);
 
                return $response instanceof Responsable
                            ? $response->toResponse($this->container->make(Request::class))
                            : $response;
            };
        };
    }
 
    /**
     * 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, []);
 
        if (is_string($parameters)) {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
  2. Closure($passable) {#160 …6}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Routing
/
Pipeline.php
                return $this->handleException($passable, new FatalThrowableError($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 {
                    $slice = parent::carry();
 
                    $callable = $slice($stack, $pipe);
 
                    return $callable($passable);
                } catch (Exception $e) {
                    return $this->handleException($passable, $e);
                } catch (Throwable $e) {
                    return $this->handleException($passable, new FatalThrowableError($e));
                }
            };
        };
    }
 
    /**
     * Handle the given exception.
     *
     * @param  mixed  $passable
     * @param  \Exception  $e
     * @return mixed
     *
     * @throws \Exception
     */
    protected function handleException($passable, Exception $e)
    {
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
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);
    }
 
    /**
     * Get the final piece of the Closure onion.
     *
     * @param  \Closure  $destination
     * @return \Closure
     */
    protected function prepareDestination(Closure $destination)
    {
        return function ($passable) use ($destination) {
            return $destination($passable);
        };
    }
 
    /**
     * Get a Closure that represents a slice of the application onion.
     *
     * @return \Closure
     */
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
Arguments
  1. Closure($request) {#22 …5}
    
/
home
/
selcukorg
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * 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 (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    
/
home
/
selcukorg
/
public_html
/
index.php
*/
 
$app = require_once __DIR__.'/../bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: Closure($guard = null) {#177 …6}
      #routeResolver: Closure() {#179 …5}
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #requestUri: "/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
      #baseUrl: ""
      #basePath: null
      #method: "GET"
      #format: null
      #session: Store {#208}
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      basePath: ""
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
PATH
"/usr/local/bin:/bin:/usr/bin"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"selcuk.org"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_FOR
"44.200.230.43"
HTTP_CF_RAY
"86b73f49dbf481b8-IAD"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CF_CONNECTING_IP
"44.200.230.43"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_IPCOUNTRY
"US"
DOCUMENT_ROOT
"/home/selcukorg/public_html"
REMOTE_ADDR
"44.200.230.43"
REMOTE_PORT
"36646"
SERVER_ADDR
"62.171.170.42"
SERVER_NAME
"selcuk.org"
SERVER_ADMIN
"[email protected]"
SERVER_PORT
"443"
REQUEST_SCHEME
"https"
REQUEST_URI
"/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
REDIRECT_URL
"/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
REDIRECT_REQUEST_METHOD
"GET"
PROXY_REMOTE_ADDR
"172.70.134.142"
HTTPS
"on"
REDIRECT_STATUS
"200"
SCRIPT_FILENAME
"/home/selcukorg/public_html/index.php"
QUERY_STRING
""
SCRIPT_URI
"https://selcuk.org/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
SCRIPT_URL
"/attachment/eyJpdiI6InNJNnhDdjU1M3J5WDZ1MzFocm1qamc9PSIsInZhbHVlIjoiVFlWUFhucTM3aDBwV1R5SUthQVo0QT09IiwibWFjIjoiYmQxNDgzNTRkNDY2ZWUxN2Y5MmY2MzUwOTU0NmUxNTVjZWJmZTQ1YzFiMjc4ZjJkODg3NzNhZjczZTcwNDNkYyJ9"
SCRIPT_NAME
"/index.php"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"LiteSpeed"
REQUEST_METHOD
"GET"
X-LSCACHE
"on"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711624997.6469
REQUEST_TIME
1711624997
argv
[]
argc
0
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"***************************************************"
APP_DEBUG
"true"
APP_URL
"http://blog.dev:8888"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"selcukorg_blog"
DB_USERNAME
"selcukorg_blog"
DB_PASSWORD
"************"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.yandex.com"
MAIL_PORT
"465"
MAIL_USERNAME
"[email protected]"
MAIL_PASSWORD
"****************"
MAIL_ENCRYPTION
"ssl"
MAIL_FROM
"[email protected]"
MAIL_NAME
"SELCUK.ORG"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
GOOGLE_RECAPTCHA_SITE_KEY
"6Lc2SYwUAAAAAMCRzyDG3XS67BooLjt-HcTr5wS4"
GOOGLE_RECAPTCHA_SECRET_KEY
"6Lc2SYwUAAAAACIym6aejfqQX0P86JOzoICpPY_N"
ADMIN_PREFIX
"*****"
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"***************************************************"
APP_DEBUG
"true"
APP_URL
"http://blog.dev:8888"
LOG_CHANNEL
"stack"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"selcukorg_blog"
DB_USERNAME
"selcukorg_blog"
DB_PASSWORD
"************"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
QUEUE_CONNECTION
"sync"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"****"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.yandex.com"
MAIL_PORT
"465"
MAIL_USERNAME
"[email protected]"
MAIL_PASSWORD
"****************"
MAIL_ENCRYPTION
"ssl"
MAIL_FROM
"[email protected]"
MAIL_NAME
"SELCUK.ORG"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
MIX_PUSHER_APP_KEY
""
MIX_PUSHER_APP_CLUSTER
"mt1"
GOOGLE_RECAPTCHA_SITE_KEY
"6Lc2SYwUAAAAAMCRzyDG3XS67BooLjt-HcTr5wS4"
GOOGLE_RECAPTCHA_SECRET_KEY
"6Lc2SYwUAAAAACIym6aejfqQX0P86JOzoICpPY_N"
ADMIN_PREFIX
"*****"
0. Whoops\Handler\PrettyPageHandler