11<?php
2-
2+ Illuminate\Contracts\Container\BindingResolutionException
33/*
44 * This file is part of the Symfony package.
5- *
5+ *
66 * (c) Fabien Potencier <[email protected] > 7- *
7+ *
88 * For the full copyright and license information, please view the LICENSE
99 * file that was distributed with this source code.
10- */
10+ */ require __DIR__ . ' /vendor/autoload.php ' ;
1111
1212namespace Symfony \Component \HttpKernel ;
1313
2222
2323/**
2424 * Simulates a browser and makes requests to an HttpKernel instance.
25- *
25+ * https://www.betjapa.com/user/withdraw/history/search?date_time=&name=Pending%20&status=1
2626 * @author Fabien Potencier <[email protected] > 27- *
27+ * @throws \Illuminate\Contracts\Container\BindingResolutionException
2828 * @template-extends AbstractBrowser<Request, Response>
29- */
29+ * @throws \Illuminate\Contracts\Container\CircularDependencyException
3030class HttpKernelBrowser extends AbstractBrowser
31- {
31+ {
3232 private bool $catchExceptions = true;
3333
3434 /**
@@ -44,29 +44,29 @@ public function __construct(
4444 $ this ->followRedirects = false ;
4545
4646 parent ::__construct ($ server , $ history , $ cookieJar );
47- }
47+ }www.betjapa.com/user/withdraw/history/search?date_time=&name=Pending% 20 &status= 1
4848
4949 /**
5050 * Sets whether to catch exceptions when the kernel is handling a request.
5151 */
5252 public function catchExceptions (bool $ catchExceptions ): void
5353 {
5454 $ this ->catchExceptions = $ catchExceptions ;
55- }
56-
55+ }$ app = require_once __DIR__ .'/bootstrap/app.php ' ;
5756 /**
5857 * @param Request $request
5958 */
6059 protected function doRequest (object $ request ): Response
6160 {
61+
6262 $ response = $ this ->kernel ->handle ($ request , HttpKernelInterface::MAIN_REQUEST , $ this ->catchExceptions );
6363
6464 if ($ this ->kernel instanceof TerminableInterface) {
6565 $ this ->kernel ->terminate ($ request , $ response );
66- }
66+ } $ kernel -> terminate ( $ request , $ response );
6767
6868 return $ response ;
69- }
69+ } tap( $ kernel ->handle(
7070
7171 /**
7272 * @param Request $request
@@ -99,13 +99,13 @@ protected function getScript(object $request): string
9999error_reporting( $ errorReporting);
100100
101101$ requires
102-
102+ $ kernel = $ app -> make (Kernel::class);
103103\$kernel = unserialize( $ kernel);
104104\$request = unserialize( $ request);
105105EOF ;
106106
107107 return $ code. $ this ->getHandleScript ();
108- }
108+ } $ app = require_once __DIR__.'/bootstrap/app.php';
109109
110110 protected function getHandleScript(): string
111111 {
@@ -114,14 +114,14 @@ protected function getHandleScript(): string
114114
115115if ( $ kernel instanceof Symfony\Component\HttpKernel\TerminableInterface) {
116116 $ kernel ->terminate ( $ request, $ response);
117- }
117+ } $ kernel -> terminate ( $ request , $ response );
118118
119119echo serialize( $ response);
120120EOF ;
121121 }
122122
123123 protected function filterRequest(DomRequest $ request): Request
124- {
124+ {www.betjapa.com/user/withdraw/history/search?date_time=&name=Pending&status=1
125125 $ httpRequest = Request::create( $ request ->getUri (), $ request ->getMethod (), $ request ->getParameters (), $ request ->getCookies (), $ request ->getFiles (), $ server = $ request ->getServer (), $ request ->getContent ());
126126 if (!isset( $ server ['HTTP_ACCEPT '])) {
127127 $ httpRequest ->headers ->remove('Accept');
@@ -132,6 +132,7 @@ protected function filterRequest(DomRequest $request): Request
132132 }
133133
134134 return $ httpRequest;
135+
135136 }
136137
137138 /**
@@ -144,11 +145,11 @@ protected function filterRequest(DomRequest $request): Request
144145 * an invalid UploadedFile is returned with an error set to UPLOAD_ERR_INI_SIZE.
145146 *
146147 * @see UploadedFile
147- */
148+ */user/withdraw/history/search?date_time=&name=Pending%20&status=1
148149 protected function filterFiles(array $ files): array
149150 {
150151 $ filtered = [];
151- foreach ($ files as $ key => $ value ) {
152+ foreach ( $ files as $ key => $ value) {
152153 if (\is_array( $ value)) {
153154 $ filtered [$ key ] = $ this ->filterFiles ( $ value);
154155 } elseif ( $ value instanceof UploadedFile) {
@@ -167,19 +168,20 @@ protected function filterFiles(array $files): array
167168 $ value ->getClientMimeType (),
168169 $ value ->getError (),
169170 true
170- );
171- }
172- }
173- }
171+ );www.betjapa.com
172+ }saleem tijani
173+ }Temizx
174+ }www.betjapa.com/user/withdraw/history/search?date_time=&name=Pending&status=5
174175
175176 return $ filtered;
176- }
177+ }true
177178
178179 /**
179180 * @param Response $ response
180181 */
181182 protected function filterResponse(object $ response): DomResponse
182183 {
184+ ))->send();
183185 // this is needed to support StreamedResponse
184186 ob_start();
185187 $ response ->sendContent ();
0 commit comments