/home/nsowos/public_html/thoysophaled.com/vendor/symfony/var-dumper/Server/Connection.php
use Symfony\Component\VarDumper\Cloner\Data;
use Symfony\Component\VarDumper\Dumper\ContextProvider\ContextProviderInterface;
/**
* Forwards serialized Data clones to a server.
*
* @author Maxime Steinhausser <maxime.steinhausser@gmail.com>
*/
class Connection
{
private $host;
private $contextProviders;
private $socket;
/**
* @param string $host The server host
* @param ContextProviderInterface[] $contextProviders Context providers indexed by context name
*/
public function __construct(string $host, array $contextProviders = [])
{
if (!str_contains($host, '://')) {
$host = 'tcp://'.$host;
}
$this->host = $host;
$this->contextProviders = $contextProviders;
}
public function getContextProviders(): array
{
return $this->contextProviders;
}
public function write(Data $data): bool
{
$socketIsFresh = !$this->socket;
if (!$this->socket = $this->socket ?: $this->createSocket()) {
return false;
}
Arguments
"Argument 1 passed to Symfony\Component\VarDumper\Server\Connection::__construct() must be of the type string, null given, called in /home/nsowos/public_html/thoysophaled.com/vendor/beyondcode/laravel-dump-server/src/DumpServerServiceProvider.php on line 49"
/home/nsowos/public_html/thoysophaled.com/vendor/beyondcode/laravel-dump-server/src/DumpServerServiceProvider.php
*
* @return void
*/
public function register()
{
$this->mergeConfigFrom(__DIR__.'/../config/config.php', 'debug-server');
$this->app->bind('command.dumpserver', DumpServerCommand::class);
$this->commands([
'command.dumpserver',
]);
$host = $this->app['config']->get('debug-server.host');
$this->app->when(DumpServer::class)->needs('$host')->give($host);
$connection = new Connection($host, [
'request' => new RequestContextProvider($this->app['request']),
'source' => new SourceContextProvider('utf-8', base_path()),
]);
VarDumper::setHandler(function ($var) use ($connection) {
(new Dumper($connection))->dump($var);
});
}
}
Arguments
null
array:2 [
"request" => BeyondCode\DumpServer\RequestContextProvider {#108}
"source" => Symfony\Component\VarDumper\Dumper\ContextProvider\SourceContextProvider {#110}
]
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
* Register a service provider with the application.
*
* @param \Illuminate\Support\ServiceProvider|string $provider
* @param bool $force
* @return \Illuminate\Support\ServiceProvider
*/
public function register($provider, $force = false)
{
if (($registered = $this->getProvider($provider)) && ! $force) {
return $registered;
}
// If the given "provider" is a string, we will resolve it, passing in the
// application instance automatically for the developer. This is simply
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
}
$provider->register();
// If there are bindings / singletons set as properties on the provider we
// will spin through them and register them with the application, which
// serves as a convenience layer while registering a lot of bindings.
if (property_exists($provider, 'bindings')) {
foreach ($provider->bindings as $key => $value) {
$this->bind($key, $value);
}
}
if (property_exists($provider, 'singletons')) {
foreach ($provider->singletons as $key => $value) {
$this->singleton($key, $value);
}
}
$this->markAsRegistered($provider);
// If the application has already booted, we will call this boot method on
// the provider class so it has an opportunity to do its boot logic and
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php
// First we will load the service manifest, which contains information on all
// service providers registered with the application and which services it
// provides. This is used to know which services are "deferred" loaders.
if ($this->shouldRecompile($manifest, $providers)) {
$manifest = $this->compileManifest($providers);
}
// Next, we will register events to load the providers for each of the events
// that it has requested. This allows the service provider to defer itself
// while still getting automatically loaded when a certain event occurs.
foreach ($manifest['when'] as $provider => $events) {
$this->registerLoadEvents($provider, $events);
}
// We will go ahead and register all of the eagerly loaded providers with the
// application so their services can be registered with the application as
// a provided service. Then we will set the deferred service list on it.
foreach ($manifest['eager'] as $provider) {
$this->app->register($provider);
}
$this->app->addDeferredServices($manifest['deferred']);
}
/**
* Load the service provider manifest JSON file.
*
* @return array|null
*/
public function loadManifest()
{
// The service manifest is a file containing a JSON representation of every
// service provided by the application and whether its provider is using
// deferred loading or should be eagerly loaded on each request to us.
if ($this->files->exists($this->manifestPath)) {
$manifest = $this->files->getRequire($this->manifestPath);
if ($manifest) {
return array_merge(['when' => []], $manifest);
Arguments
BeyondCode\DumpServer\DumpServerServiceProvider {#104}
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
{
return $this['env'] === 'testing';
}
/**
* Register all of the configured providers.
*
* @return void
*/
public function registerConfiguredProviders()
{
$providers = Collection::make($this->config['app.providers'])
->partition(function ($provider) {
return strpos($provider, 'Illuminate\\') === 0;
});
$providers->splice(1, 0, [$this->make(PackageManifest::class)->providers()]);
(new ProviderRepository($this, new Filesystem, $this->getCachedServicesPath()))
->load($providers->collapse()->toArray());
}
/**
* Register a service provider with the application.
*
* @param \Illuminate\Support\ServiceProvider|string $provider
* @param bool $force
* @return \Illuminate\Support\ServiceProvider
*/
public function register($provider, $force = false)
{
if (($registered = $this->getProvider($provider)) && ! $force) {
return $registered;
}
// If the given "provider" is a string, we will resolve it, passing in the
// application instance automatically for the developer. This is simply
// a more convenient way of specifying your service provider classes.
if (is_string($provider)) {
$provider = $this->resolveProvider($provider);
Arguments
array:48 [
0 => "Illuminate\Auth\AuthServiceProvider"
1 => "Illuminate\Broadcasting\BroadcastServiceProvider"
2 => "Illuminate\Bus\BusServiceProvider"
3 => "Illuminate\Cache\CacheServiceProvider"
4 => "Illuminate\Foundation\Providers\ConsoleSupportServiceProvider"
5 => "Illuminate\Cookie\CookieServiceProvider"
6 => "Illuminate\Database\DatabaseServiceProvider"
7 => "Illuminate\Encryption\EncryptionServiceProvider"
8 => "Illuminate\Filesystem\FilesystemServiceProvider"
9 => "Illuminate\Foundation\Providers\FoundationServiceProvider"
10 => "Illuminate\Hashing\HashServiceProvider"
11 => "Illuminate\Mail\MailServiceProvider"
12 => "Illuminate\Notifications\NotificationServiceProvider"
13 => "Illuminate\Pagination\PaginationServiceProvider"
14 => "Illuminate\Pipeline\PipelineServiceProvider"
15 => "Illuminate\Queue\QueueServiceProvider"
16 => "Illuminate\Redis\RedisServiceProvider"
17 => "Illuminate\Auth\Passwords\PasswordResetServiceProvider"
18 => "Illuminate\Session\SessionServiceProvider"
19 => "Illuminate\Translation\TranslationServiceProvider"
20 => "Illuminate\Validation\ValidationServiceProvider"
21 => "Illuminate\View\ViewServiceProvider"
22 => "Barryvdh\DomPDF\ServiceProvider"
23 => "BeyondCode\DumpServer\DumpServerServiceProvider"
24 => "Fideloper\Proxy\TrustedProxyServiceProvider"
25 => "Intervention\Image\ImageServiceProvider"
26 => "Jenssegers\Agent\AgentServiceProvider"
27 => "Jorenvh\Share\Providers\ShareServiceProvider"
28 => "Laravel\Tinker\TinkerServiceProvider"
29 => "Collective\Html\HtmlServiceProvider"
30 => "Carbon\Laravel\ServiceProvider"
31 => "NunoMaduro\Collision\Adapters\Laravel\CollisionServiceProvider"
32 => "SimpleSoftwareIO\QrCode\QrCodeServiceProvider"
33 => "Spatie\Permission\PermissionServiceProvider"
34 => "Sven\ArtisanView\ServiceProvider"
35 => "Yajra\DataTables\DataTablesServiceProvider"
36 => "Yajra\DataTables\DataTablesServiceProvider"
37 => "Intervention\Image\ImageServiceProvider"
38 => "Jorenvh\Share\Providers\ShareServiceProvider"
39 => "App\Providers\AppServiceProvider"
40 => "App\Providers\AuthServiceProvider"
41 => "App\Providers\EventServiceProvider"
42 => "App\Providers\RouteServiceProvider"
43 => "Spatie\Permission\PermissionServiceProvider"
44 => "Collective\Html\HtmlServiceProvider"
45 => "App\Providers\NotificationProvider"
46 => "Barryvdh\DomPDF\ServiceProvider"
47 => "Jenssegers\Agent\AgentServiceProvider"
]
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php
<?php
namespace Illuminate\Foundation\Bootstrap;
use Illuminate\Contracts\Foundation\Application;
class RegisterProviders
{
/**
* Bootstrap the given application.
*
* @param \Illuminate\Contracts\Foundation\Application $app
* @return void
*/
public function bootstrap(Application $app)
{
$app->registerConfiguredProviders();
}
}
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
{
$this->register(new EventServiceProvider($this));
$this->register(new LogServiceProvider($this));
$this->register(new RoutingServiceProvider($this));
}
/**
* Run the given array of bootstrap classes.
*
* @param string[] $bootstrappers
* @return void
*/
public function bootstrapWith(array $bootstrappers)
{
$this->hasBeenBootstrapped = true;
foreach ($bootstrappers as $bootstrapper) {
$this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
$this->make($bootstrapper)->bootstrap($this);
$this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
}
}
/**
* Register a callback to run after loading the environment.
*
* @param \Closure $callback
* @return void
*/
public function afterLoadingEnvironment(Closure $callback)
{
$this->afterBootstrapping(
LoadEnvironmentVariables::class, $callback
);
}
/**
* Register a callback to run before a bootstrapper.
Arguments
Illuminate\Foundation\Application {#5}
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
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()
{
return function ($request) {
$this->app->instance('request', $request);
return $this->router->dispatch($request);
};
}
/**
* Call the terminate method on any terminable middleware.
*
Arguments
array:6 [
0 => "Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables"
1 => "Illuminate\Foundation\Bootstrap\LoadConfiguration"
2 => "Illuminate\Foundation\Bootstrap\HandleExceptions"
3 => "Illuminate\Foundation\Bootstrap\RegisterFacades"
4 => "Illuminate\Foundation\Bootstrap\RegisterProviders"
5 => "Illuminate\Foundation\Bootstrap\BootProviders"
]
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
$this->app['events']->dispatch(
new RequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
protected function sendRequestThroughRouter($request)
{
$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());
}
}
/**
/home/nsowos/public_html/thoysophaled.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php
public function __construct(Application $app, Router $router)
{
$this->app = $app;
$this->router = $router;
$this->syncMiddlewareToRouter();
}
/**
* Handle an incoming HTTP request.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function handle($request)
{
try {
$request->enableHttpMethodParameterOverride();
$response = $this->sendRequestThroughRouter($request);
} catch (Exception $e) {
$this->reportException($e);
$response = $this->renderException($request, $e);
} catch (Throwable $e) {
$this->reportException($e = new FatalThrowableError($e));
$response = $this->renderException($request, $e);
}
$this->app['events']->dispatch(
new RequestHandled($request, $response)
);
return $response;
}
/**
* Send the given request through the middleware / router.
*
Arguments
Illuminate\Http\Request {#53
#json: null
#convertedFiles: null
#userResolver: null
#routeResolver: null
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\ParameterBag {#61}
+query: Symfony\Component\HttpFoundation\ParameterBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: null
#requestUri: null
#baseUrl: null
#basePath: null
#method: null
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
pathInfo: "/course-detail/eyJpdiI6ImdVUUpwRTAyb29UQ1pYeDc0clN6bnc9PSIsInZhbHVlIjoiMTFkcEEyNVJYZjlBQUQzSnpmWDVqZz09IiwibWFjIjoiY2EzNWMwOWVkMzdmYjRjN2M4ZDkzZDM4YjBhNTkwNDNhZjhhYjdkYWUxZmUxZDFmMDZhZGVmNWRmNzVmYjkyZSJ9"
requestUri: "/course-detail/eyJpdiI6ImdVUUpwRTAyb29UQ1pYeDc0clN6bnc9PSIsInZhbHVlIjoiMTFkcEEyNVJYZjlBQUQzSnpmWDVqZz09IiwibWFjIjoiY2EzNWMwOWVkMzdmYjRjN2M4ZDkzZDM4YjBhNTkwNDNhZjhhYjdkYWUxZmUxZDFmMDZhZGVmNWRmNzVmYjkyZSJ9"
baseUrl: ""
basePath: ""
method: "GET"
format: "html"
}
/home/nsowos/public_html/thoysophaled.com/public/index.php
*/
$app = require_once __DIR__.'/../bootstrap/app.php';
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
Arguments
Illuminate\Http\Request {#53
#json: null
#convertedFiles: null
#userResolver: null
#routeResolver: null
+attributes: Symfony\Component\HttpFoundation\ParameterBag {#55}
+request: Symfony\Component\HttpFoundation\ParameterBag {#61}
+query: Symfony\Component\HttpFoundation\ParameterBag {#61}
+server: Symfony\Component\HttpFoundation\ServerBag {#57}
+files: Symfony\Component\HttpFoundation\FileBag {#58}
+cookies: Symfony\Component\HttpFoundation\ParameterBag {#56}
+headers: Symfony\Component\HttpFoundation\HeaderBag {#59}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptableContentTypes: array:1 [
0 => "*/*"
]
#pathInfo: null
#requestUri: null
#baseUrl: null
#basePath: null
#method: null
#format: null
#session: null
#locale: null
#defaultLocale: "en"
-preferredFormat: null
-isHostValid: true
-isForwardedValid: true
pathInfo: "/course-detail/eyJpdiI6ImdVUUpwRTAyb29UQ1pYeDc0clN6bnc9PSIsInZhbHVlIjoiMTFkcEEyNVJYZjlBQUQzSnpmWDVqZz09IiwibWFjIjoiY2EzNWMwOWVkMzdmYjRjN2M4ZDkzZDM4YjBhNTkwNDNhZjhhYjdkYWUxZmUxZDFmMDZhZGVmNWRmNzVmYjkyZSJ9"
requestUri: "/course-detail/eyJpdiI6ImdVUUpwRTAyb29UQ1pYeDc0clN6bnc9PSIsInZhbHVlIjoiMTFkcEEyNVJYZjlBQUQzSnpmWDVqZz09IiwibWFjIjoiY2EzNWMwOWVkMzdmYjRjN2M4ZDkzZDM4YjBhNTkwNDNhZjhhYjdkYWUxZmUxZDFmMDZhZGVmNWRmNzVmYjkyZSJ9"
baseUrl: ""
basePath: ""
method: "GET"
format: "html"
}