/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php
<؛؟php $__currentloopdata = $main_news_list؛ $__env->؛addloop($__currentloopdata)؛ foreach($__currentloopdata as $key =>؛ $item): $__env->؛incrementloopindices()؛ $loop = $__env->؛getlastloop()؛ ؟>؛
<؛؟php if($key == 0): ؟>؛
<؛a href="؛<؛؟php echo e($item['؛news_url'؛])؛ ؟>؛"؛>؛
<؛div class="؛item-news-i"؛>؛
<؛img src="؛<؛؟php echo e($item['؛news_image'؛])؛ ؟>؛?width=600&؛height=480"؛>؛
<؛p class="؛bottom-news"؛>؛
<؛span class="؛text-red"؛>؛<؛؟php echo e(\app\http\helpers::getdateformat2($item->؛news_date))؛ ؟>؛<؛/span>؛
<؛span class="؛text-blue text-uppercase"؛>؛<؛؟php echo e($item['؛rubric_name_'؛.$lang])؛ ؟>؛<؛/span>؛
<؛/p>؛
<؛p class="؛title-news"؛>؛
<؛b>؛<؛؟php echo e($item['؛news_name_'؛.$lang])؛ ؟>؛<؛/b>؛
<؛/p>؛
<؛p>؛<؛؟php echo e($item['؛news_desc_'؛.$lang])؛ ؟>؛<؛/p>؛
<؛p class="؛btm-inf"؛>؛
<؛span class="؛text-grey"؛>؛<؛؟php if($item->؛from_id): ؟>؛<؛؟php echo e(\app\users::find($item->؛from_id)->؛name)؛ ؟>؛<؛؟php else: ؟>؛<؛؟php echo e($item['؛name'؛])؛ ؟>؛ <؛؟php endif؛ ؟>؛<؛/span>؛
<؛؟php if($item->؛news_audio != '؛'؛): ؟>؛
<؛span class="؛text-blue"؛>؛
<؛span class="؛btm-ply"؛>؛
<؛audio id="؛sound2"؛>؛
<؛source src="؛<؛؟php echo e($item->؛news_audio)؛ ؟>؛"؛ type="؛audio/mpeg"؛>؛
<؛/audio>؛
<؛/span>؛<؛؟php echo e(\app\http\helpers::getaudiotime($item['؛audio_minute'؛]))؛ ؟>؛
<؛/span>؛
<؛؟php endif؛ ؟>؛
<؛/p>؛
<؛/div>؛
<؛/a>؛
arguments
"trying to get property '؛name'؛ of non-object (view: /var/www/n.qamshy.kz/htdocs/resources/views/index/rubric/main-news-list.blade.php) (view: /var/www/n.qamshy.kz/htdocs/resources/views/index/rubric/main-news-list.blade.php)"
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/engines/phpengine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatepath($__path, $__data)
{
$oblevel = ob_get_level()؛
ob_start()؛
extract($__data, extr_skip)؛
// we'؛ll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. this prevents any partial views from leaking.
try {
include $__path؛
} catch (exception $e) {
$this->؛handleviewexception($e, $oblevel)؛
} catch (throwable $e) {
$this->؛handleviewexception(new fatalthrowableerror($e), $oblevel)؛
}
return ltrim(ob_get_clean())؛
}
/**
* handle a view exception.
*
* @param \exception $e
* @param int $oblevel
* @return void
*
* @throws \exception
*/
protected function handleviewexception(exception $e, $oblevel)
{
while (ob_get_level() >؛ $oblevel) {
ob_end_clean()؛
arguments
errorexception {#640
#message: "trying to get property '؛name'؛ of non-object (view: /var/www/n.qamshy.kz/htdocs/resources/views/index/rubric/main-news-list.blade.php)"
#code: 0
#file: "/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php"
#line: 21
-previous: errorexception {#641
#message: "trying to get property '؛name'؛ of non-object"
#code: 0
#file: "/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php"
#line: 21
#severity: e_notice
}
#severity: e_error
}
2
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/engines/phpengine.php
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatepath($__path, $__data)
{
$oblevel = ob_get_level()؛
ob_start()؛
extract($__data, extr_skip)؛
// we'؛ll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. this prevents any partial views from leaking.
try {
include $__path؛
} catch (exception $e) {
$this->؛handleviewexception($e, $oblevel)؛
} catch (throwable $e) {
$this->؛handleviewexception(new fatalthrowableerror($e), $oblevel)؛
}
return ltrim(ob_get_clean())؛
}
/**
* handle a view exception.
*
* @param \exception $e
* @param int $oblevel
* @return void
*
* @throws \exception
*/
protected function handleviewexception(exception $e, $oblevel)
{
while (ob_get_level() >؛ $oblevel) {
ob_end_clean()؛
arguments
errorexception {#641
#message: "trying to get property '؛name'؛ of non-object"
#code: 0
#file: "/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php"
#line: 21
#severity: e_notice
}
4
/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php
<؛؟php $__currentloopdata = $main_news_list؛ $__env->؛addloop($__currentloopdata)؛ foreach($__currentloopdata as $key =>؛ $item): $__env->؛incrementloopindices()؛ $loop = $__env->؛getlastloop()؛ ؟>؛
<؛؟php if($key == 0): ؟>؛
<؛a href="؛<؛؟php echo e($item['؛news_url'؛])؛ ؟>؛"؛>؛
<؛div class="؛item-news-i"؛>؛
<؛img src="؛<؛؟php echo e($item['؛news_image'؛])؛ ؟>؛?width=600&؛height=480"؛>؛
<؛p class="؛bottom-news"؛>؛
<؛span class="؛text-red"؛>؛<؛؟php echo e(\app\http\helpers::getdateformat2($item->؛news_date))؛ ؟>؛<؛/span>؛
<؛span class="؛text-blue text-uppercase"؛>؛<؛؟php echo e($item['؛rubric_name_'؛.$lang])؛ ؟>؛<؛/span>؛
<؛/p>؛
<؛p class="؛title-news"؛>؛
<؛b>؛<؛؟php echo e($item['؛news_name_'؛.$lang])؛ ؟>؛<؛/b>؛
<؛/p>؛
<؛p>؛<؛؟php echo e($item['؛news_desc_'؛.$lang])؛ ؟>؛<؛/p>؛
<؛p class="؛btm-inf"؛>؛
<؛span class="؛text-grey"؛>؛<؛؟php if($item->؛from_id): ؟>؛<؛؟php echo e(\app\users::find($item->؛from_id)->؛name)؛ ؟>؛<؛؟php else: ؟>؛<؛؟php echo e($item['؛name'؛])؛ ؟>؛ <؛؟php endif؛ ؟>؛<؛/span>؛
<؛؟php if($item->؛news_audio != '؛'؛): ؟>؛
<؛span class="؛text-blue"؛>؛
<؛span class="؛btm-ply"؛>؛
<؛audio id="؛sound2"؛>؛
<؛source src="؛<؛؟php echo e($item->؛news_audio)؛ ؟>؛"؛ type="؛audio/mpeg"؛>؛
<؛/audio>؛
<؛/span>؛<؛؟php echo e(\app\http\helpers::getaudiotime($item['؛audio_minute'؛]))؛ ؟>؛
<؛/span>؛
<؛؟php endif؛ ؟>؛
<؛/p>؛
<؛/div>؛
<؛/a>؛
arguments
"trying to get property '؛name'؛ of non-object"
/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php
<؛؟php $__currentloopdata = $main_news_list؛ $__env->؛addloop($__currentloopdata)؛ foreach($__currentloopdata as $key =>؛ $item): $__env->؛incrementloopindices()؛ $loop = $__env->؛getlastloop()؛ ؟>؛
<؛؟php if($key == 0): ؟>؛
<؛a href="؛<؛؟php echo e($item['؛news_url'؛])؛ ؟>؛"؛>؛
<؛div class="؛item-news-i"؛>؛
<؛img src="؛<؛؟php echo e($item['؛news_image'؛])؛ ؟>؛?width=600&؛height=480"؛>؛
<؛p class="؛bottom-news"؛>؛
<؛span class="؛text-red"؛>؛<؛؟php echo e(\app\http\helpers::getdateformat2($item->؛news_date))؛ ؟>؛<؛/span>؛
<؛span class="؛text-blue text-uppercase"؛>؛<؛؟php echo e($item['؛rubric_name_'؛.$lang])؛ ؟>؛<؛/span>؛
<؛/p>؛
<؛p class="؛title-news"؛>؛
<؛b>؛<؛؟php echo e($item['؛news_name_'؛.$lang])؛ ؟>؛<؛/b>؛
<؛/p>؛
<؛p>؛<؛؟php echo e($item['؛news_desc_'؛.$lang])؛ ؟>؛<؛/p>؛
<؛p class="؛btm-inf"؛>؛
<؛span class="؛text-grey"؛>؛<؛؟php if($item->؛from_id): ؟>؛<؛؟php echo e(\app\users::find($item->؛from_id)->؛name)؛ ؟>؛<؛؟php else: ؟>؛<؛؟php echo e($item['؛name'؛])؛ ؟>؛ <؛؟php endif؛ ؟>؛<؛/span>؛
<؛؟php if($item->؛news_audio != '؛'؛): ؟>؛
<؛span class="؛text-blue"؛>؛
<؛span class="؛btm-ply"؛>؛
<؛audio id="؛sound2"؛>؛
<؛source src="؛<؛؟php echo e($item->؛news_audio)؛ ؟>؛"؛ type="؛audio/mpeg"؛>؛
<؛/audio>؛
<؛/span>؛<؛؟php echo e(\app\http\helpers::getaudiotime($item['؛audio_minute'؛]))؛ ؟>؛
<؛/span>؛
<؛؟php endif؛ ؟>؛
<؛/p>؛
<؛/div>؛
<؛/a>؛
arguments
8
"trying to get property '؛name'؛ of non-object"
"/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php"
21
array:15 [
"__path" => "/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php"
"__data" => array:9 [
"__env" => factory {#114}
"app" => application {#2}
"lang" => "kk"
"errors" => viewerrorbag {#572}
"oblevel" => 2
"rubric" => rubric {#614}
"last_news_list" => collection {#620}
"main_news_list" => lengthawarepaginator {#611}
"gallery_news_list" => collection {#607}
]
"oblevel" => 4
"__env" => factory {#114}
"app" => application {#2}
"lang" => "kk"
"errors" => viewerrorbag {#572}
"rubric" => rubric {#614}
"last_news_list" => collection {#620}
"main_news_list" => lengthawarepaginator {#611}
"gallery_news_list" => collection {#607}
"__currentloopdata" => lengthawarepaginator {#611}
"item" => newsrubric {#615}
"key" => 0
"loop" => {#639}
]
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/engines/phpengine.php
/**
* get the evaluated contents of the view at the given path.
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatepath($__path, $__data)
{
$oblevel = ob_get_level()؛
ob_start()؛
extract($__data, extr_skip)؛
// we'؛ll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. this prevents any partial views from leaking.
try {
include $__path؛
} catch (exception $e) {
$this->؛handleviewexception($e, $oblevel)؛
} catch (throwable $e) {
$this->؛handleviewexception(new fatalthrowableerror($e), $oblevel)؛
}
return ltrim(ob_get_clean())؛
}
/**
* handle a view exception.
*
* @param \exception $e
* @param int $oblevel
* @return void
*
* @throws \exception
*/
protected function handleviewexception(exception $e, $oblevel)
{
arguments
"/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php"
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/engines/compilerengine.php
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->؛lastcompiled[] = $path؛
// if this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. we'؛ll pass the compiler the path of the view.
if ($this->؛compiler->؛isexpired($path)) {
$this->؛compiler->؛compile($path)؛
}
$compiled = $this->؛compiler->؛getcompiledpath($path)؛
// once we have the path to the compiled file, we will evaluate the paths with
// typical php just like any other templates. we also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->؛evaluatepath($compiled, $data)؛
array_pop($this->؛lastcompiled)؛
return $results؛
}
/**
* handle a view exception.
*
* @param \exception $e
* @param int $oblevel
* @return void
*
* @throws \exception
*/
protected function handleviewexception(exception $e, $oblevel)
{
$e = new errorexception($this->؛getmessage($e), 0, 1, $e->؛getfile(), $e->؛getline(), $e)؛
parent::handleviewexception($e, $oblevel)؛
arguments
"/var/www/n.qamshy.kz/htdocs/storage/framework/views/75f67bfe599b33207b40522b62a607480bcb838b.php"
array:9 [
"__env" => factory {#114}
"app" => application {#2}
"lang" => "kk"
"errors" => viewerrorbag {#572}
"oblevel" => 2
"rubric" => rubric {#614}
"last_news_list" => collection {#620}
"main_news_list" => lengthawarepaginator {#611}
"gallery_news_list" => collection {#607}
]
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/view.php
$this->؛factory->؛callcomposer($this)؛
$contents = $this->؛getcontents()؛
// once we'؛ve finished rendering the view, we'؛ll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->؛factory->؛decrementrender()؛
return $contents؛
}
/**
* get the evaluated contents of the view.
*
* @return string
*/
protected function getcontents()
{
return $this->؛engine->؛get($this->؛path, $this->؛gatherdata())؛
}
/**
* get the data bound to the view instance.
*
* @return array
*/
public function gatherdata()
{
$data = array_merge($this->؛factory->؛getshared(), $this->؛data)؛
foreach ($data as $key =>؛ $value) {
if ($value instanceof renderable) {
$data[$key] = $value->؛render()؛
}
}
return $data؛
}
arguments
"/var/www/n.qamshy.kz/htdocs/resources/views/index/rubric/main-news-list.blade.php"
array:9 [
"__env" => factory {#114}
"app" => application {#2}
"lang" => "kk"
"errors" => viewerrorbag {#572}
"oblevel" => 2
"rubric" => rubric {#614}
"last_news_list" => collection {#620}
"main_news_list" => lengthawarepaginator {#611}
"gallery_news_list" => collection {#607}
]
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/view.php
throw $e؛
}
}
/**
* get the contents of the view instance.
*
* @return string
*/
protected function rendercontents()
{
// we will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. this will
// clear out the sections for any separate views that may be rendered.
$this->؛factory->؛incrementrender()؛
$this->؛factory->؛callcomposer($this)؛
$contents = $this->؛getcontents()؛
// once we'؛ve finished rendering the view, we'؛ll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->؛factory->؛decrementrender()؛
return $contents؛
}
/**
* get the evaluated contents of the view.
*
* @return string
*/
protected function getcontents()
{
return $this->؛engine->؛get($this->؛path, $this->؛gatherdata())؛
}
/**
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/view.php
$this->؛view = $view؛
$this->؛path = $path؛
$this->؛engine = $engine؛
$this->؛factory = $factory؛
$this->؛data = $data instanceof arrayable ؟ $data->؛toarray() : (array) $data؛
}
/**
* get the string contents of the view.
*
* @param callable|null $callback
* @return array|string
*
* @throws \throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->؛rendercontents()؛
$response = isset($callback) ؟ call_user_func($callback, $this, $contents) : null؛
// once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->؛factory->؛flushstateifdonerendering()؛
return ! is_null($response) ؟ $response : $contents؛
} catch (exception $e) {
$this->؛factory->؛flushstate()؛
throw $e؛
} catch (throwable $e) {
$this->؛factory->؛flushstate()؛
throw $e؛
}
}
/var/www/n.qamshy.kz/htdocs/storage/framework/views/0e314873a08c1ea99cf6349100fd12f991b1e724.php
<؛link rel="؛stylesheet"؛ href="؛/css/font-awesome.min.css"؛>؛
<؛link rel="؛stylesheet"؛ href="؛/custom/css/main.css"؛>؛
<؛؟php $__env->؛stopsection()؛ ؟>؛
<؛؟php $__env->؛startsection('؛content'؛)؛ ؟>؛
<؛div class="؛content"؛>؛
<؛div class="؛container-fluid"؛>؛
<؛div class="؛row content-b2 section-rows"؛>؛
<؛div class="؛container"؛>؛
<؛h1 class="؛title-news"؛>؛<؛b>؛<؛؟php echo e($rubric['؛rubric_name_'؛.$lang])؛ ؟>؛<؛/b>؛<؛/h1>؛
<؛div class="؛row"؛>؛
<؛div class="؛col-md-9"؛>؛
<؛div class="؛row"؛>؛
<؛div class="؛col-sm-4 hidden-xs"؛>؛
<؛؟php echo $__env->؛make('؛index.news.last-news-section'؛, \illuminate\support\arr::except(get_defined_vars(), ['؛__data'؛, '؛__path'؛]))->؛render()؛ ؟>؛
<؛/div>؛
<؛div class="؛col-sm-8"؛>؛
<؛؟php echo $__env->؛make('؛index.rubric.main-news-list'؛, \illuminate\support\arr::except(get_defined_vars(), ['؛__data'؛, '؛__path'؛]))->؛render()؛ ؟>؛
<؛/div>؛
<؛/div>؛
<؛div class="؛line-grey"؛>؛<؛/div>؛
<؛div class="؛section-rows"؛>؛
<؛div class="؛row f-news news-col"؛ id="؛news_list"؛>؛
<؛؟php echo $__env->؛make('؛index.rubric.other-news-list'؛, \illuminate\support\arr::except(get_defined_vars(), ['؛__data'؛, '؛__path'؛]))->؛render()؛ ؟>؛
<؛/div>؛
<؛p class="؛text-center"؛>؛
<؛a class="؛text-blue"؛ href="؛javascript:void(0)"؛ <؛؟php if($main_news_list->؛lastpage() <؛= 1): ؟>؛ style="؛display: none"؛ <؛؟php endif؛ ؟>؛ id="؛show_read_more"؛ onclick="؛getrubricnewslist('؛/ajax/news/rubric؟rubric_id=<؛؟php echo e($rubric['؛rubric_id'؛])؛ ؟>؛'؛)"؛>؛<؛b>؛<؛؟php echo e(lang::get('؛app.show_more'؛))؛ ؟>؛<؛/b>؛<؛/a>؛
<؛/p>؛
<؛/div>؛
<؛/div>؛
<؛div class="؛col-md-3 hidden-sm hidden-xs"؛>؛
<؛؟php echo $__env->؛make('؛index.news.gallery-list-loop'؛, \illuminate\support\arr::except(get_defined_vars(), ['؛__data'؛, '؛__path'؛]))->؛render()؛ ؟>؛
<؛div class="؛mt-40"؛>؛
<؛div class="؛line-grey"؛>؛<؛/div>؛
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/engines/phpengine.php
/**
* get the evaluated contents of the view at the given path.
*
* @param string $__path
* @param array $__data
* @return string
*/
protected function evaluatepath($__path, $__data)
{
$oblevel = ob_get_level()؛
ob_start()؛
extract($__data, extr_skip)؛
// we'؛ll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. this prevents any partial views from leaking.
try {
include $__path؛
} catch (exception $e) {
$this->؛handleviewexception($e, $oblevel)؛
} catch (throwable $e) {
$this->؛handleviewexception(new fatalthrowableerror($e), $oblevel)؛
}
return ltrim(ob_get_clean())؛
}
/**
* handle a view exception.
*
* @param \exception $e
* @param int $oblevel
* @return void
*
* @throws \exception
*/
protected function handleviewexception(exception $e, $oblevel)
{
arguments
"/var/www/n.qamshy.kz/htdocs/storage/framework/views/0e314873a08c1ea99cf6349100fd12f991b1e724.php"
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/engines/compilerengine.php
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->؛lastcompiled[] = $path؛
// if this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. we'؛ll pass the compiler the path of the view.
if ($this->؛compiler->؛isexpired($path)) {
$this->؛compiler->؛compile($path)؛
}
$compiled = $this->؛compiler->؛getcompiledpath($path)؛
// once we have the path to the compiled file, we will evaluate the paths with
// typical php just like any other templates. we also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->؛evaluatepath($compiled, $data)؛
array_pop($this->؛lastcompiled)؛
return $results؛
}
/**
* handle a view exception.
*
* @param \exception $e
* @param int $oblevel
* @return void
*
* @throws \exception
*/
protected function handleviewexception(exception $e, $oblevel)
{
$e = new errorexception($this->؛getmessage($e), 0, 1, $e->؛getfile(), $e->؛getline(), $e)؛
parent::handleviewexception($e, $oblevel)؛
arguments
"/var/www/n.qamshy.kz/htdocs/storage/framework/views/0e314873a08c1ea99cf6349100fd12f991b1e724.php"
array:8 [
"__env" => factory {#114}
"app" => application {#2}
"lang" => "kk"
"errors" => viewerrorbag {#572}
"rubric" => rubric {#614}
"last_news_list" => collection {#620}
"main_news_list" => lengthawarepaginator {#611}
"gallery_news_list" => collection {#607}
]
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/view.php
$this->؛factory->؛callcomposer($this)؛
$contents = $this->؛getcontents()؛
// once we'؛ve finished rendering the view, we'؛ll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->؛factory->؛decrementrender()؛
return $contents؛
}
/**
* get the evaluated contents of the view.
*
* @return string
*/
protected function getcontents()
{
return $this->؛engine->؛get($this->؛path, $this->؛gatherdata())؛
}
/**
* get the data bound to the view instance.
*
* @return array
*/
public function gatherdata()
{
$data = array_merge($this->؛factory->؛getshared(), $this->؛data)؛
foreach ($data as $key =>؛ $value) {
if ($value instanceof renderable) {
$data[$key] = $value->؛render()؛
}
}
return $data؛
}
arguments
"/var/www/n.qamshy.kz/htdocs/resources/views/new/rubric.blade.php"
array:8 [
"__env" => factory {#114}
"app" => application {#2}
"lang" => "kk"
"errors" => viewerrorbag {#572}
"rubric" => rubric {#614}
"last_news_list" => collection {#620}
"main_news_list" => lengthawarepaginator {#611}
"gallery_news_list" => collection {#607}
]
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/view.php
throw $e؛
}
}
/**
* get the contents of the view instance.
*
* @return string
*/
protected function rendercontents()
{
// we will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. this will
// clear out the sections for any separate views that may be rendered.
$this->؛factory->؛incrementrender()؛
$this->؛factory->؛callcomposer($this)؛
$contents = $this->؛getcontents()؛
// once we'؛ve finished rendering the view, we'؛ll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->؛factory->؛decrementrender()؛
return $contents؛
}
/**
* get the evaluated contents of the view.
*
* @return string
*/
protected function getcontents()
{
return $this->؛engine->؛get($this->؛path, $this->؛gatherdata())؛
}
/**
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/view/view.php
$this->؛view = $view؛
$this->؛path = $path؛
$this->؛engine = $engine؛
$this->؛factory = $factory؛
$this->؛data = $data instanceof arrayable ؟ $data->؛toarray() : (array) $data؛
}
/**
* get the string contents of the view.
*
* @param callable|null $callback
* @return array|string
*
* @throws \throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->؛rendercontents()؛
$response = isset($callback) ؟ call_user_func($callback, $this, $contents) : null؛
// once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->؛factory->؛flushstateifdonerendering()؛
return ! is_null($response) ؟ $response : $contents؛
} catch (exception $e) {
$this->؛factory->؛flushstate()؛
throw $e؛
} catch (throwable $e) {
$this->؛factory->؛flushstate()؛
throw $e؛
}
}
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/http/response.php
* @return $this
*/
public function setcontent($content)
{
$this->؛original = $content؛
// if the content is "؛jsonable"؛ we will set the appropriate header and convert
// the content to json. this is useful when returning something like models
// from routes that will be automatically transformed to their json form.
if ($this->؛shouldbejson($content)) {
$this->؛header('؛content-type'؛, '؛application/json'؛)؛
$content = $this->؛morphtojson($content)؛
}
// if this content implements the "؛renderable"؛ interface then we will call the
// render method on the object so we will avoid any "؛__tostring"؛ exceptions
// that might be thrown and have their errors obscured by php'؛s handling.
elseif ($content instanceof renderable) {
$content = $content->؛render()؛
}
parent::setcontent($content)؛
return $this؛
}
/**
* determine if the given content should be turned into json.
*
* @param mixed $content
* @return bool
*/
protected function shouldbejson($content)
{
return $content instanceof arrayable ||
$content instanceof jsonable ||
$content instanceof arrayobject ||
$content instanceof jsonserializable ||
is_array($content)؛
/var/www/n.qamshy.kz/htdocs/vendor/symfony/http-foundation/response.php
500 =>؛ '؛internal server error'؛,
501 =>؛ '؛not implemented'؛,
502 =>؛ '؛bad gateway'؛,
503 =>؛ '؛service unavailable'؛,
504 =>؛ '؛gateway timeout'؛,
505 =>؛ '؛http version not supported'؛,
506 =>؛ '؛variant also negotiates'؛, // rfc2295
507 =>؛ '؛insufficient storage'؛, // rfc4918
508 =>؛ '؛loop detected'؛, // rfc5842
510 =>؛ '؛not extended'؛, // rfc2774
511 =>؛ '؛network authentication required'؛, // rfc6585
]؛
/**
* @throws \invalidargumentexception when the http status code is not valid
*/
public function __construct($content = '؛'؛, int $status = 200, array $headers = [])
{
$this->؛headers = new responseheaderbag($headers)؛
$this->؛setcontent($content)؛
$this->؛setstatuscode($status)؛
$this->؛setprotocolversion('؛1.0'؛)؛
}
/**
* factory method for chainability.
*
* example:
*
* return response::create($body, 200)
* ->؛setsharedmaxage(300)؛
*
* @param mixed $content the response content, see setcontent()
* @param int $status the response status code
* @param array $headers an array of response headers
*
* @return static
*/
public static function create($content = '؛'؛, $status = 200, $headers = [])
{
arguments
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/routing/router.php
*/
public static function toresponse($request, $response)
{
if ($response instanceof responsable) {
$response = $response->؛toresponse($request)؛
}
if ($response instanceof psrresponseinterface) {
$response = (new httpfoundationfactory)->؛createresponse($response)؛
} elseif ($response instanceof model &؛&؛ $response->؛wasrecentlycreated) {
$response = new jsonresponse($response, 201)؛
} elseif (! $response instanceof symfonyresponse &؛&؛
($response instanceof arrayable ||
$response instanceof jsonable ||
$response instanceof arrayobject ||
$response instanceof jsonserializable ||
is_array($response))) {
$response = new jsonresponse($response)؛
} elseif (! $response instanceof symfonyresponse) {
$response = new response($response)؛
}
if ($response->؛getstatuscode() === response::http_not_modified) {
$response->؛setnotmodified()؛
}
return $response->؛prepare($request)؛
}
/**
* substitute the route bindings onto the route.
*
* @param \illuminate\routing\route $route
* @return \illuminate\routing\route
*
* @throws \illuminate\database\eloquent\modelnotfoundexception
*/
public function substitutebindings($route)
{
foreach ($route->؛parameters() as $key =>؛ $value) {
arguments
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/routing/router.php
* sort the given middleware by priority.
*
* @param \illuminate\support\collection $middlewares
* @return array
*/
protected function sortmiddleware(collection $middlewares)
{
return (new sortedmiddleware($this->؛middlewarepriority, $middlewares))->؛all()؛
}
/**
* create a response instance from the given value.
*
* @param \symfony\component\httpfoundation\request $request
* @param mixed $response
* @return \illuminate\http\response|\illuminate\http\jsonresponse
*/
public function prepareresponse($request, $response)
{
return static::toresponse($request, $response)؛
}
/**
* static version of prepareresponse.
*
* @param \symfony\component\httpfoundation\request $request
* @param mixed $response
* @return \illuminate\http\response|\illuminate\http\jsonresponse
*/
public static function toresponse($request, $response)
{
if ($response instanceof responsable) {
$response = $response->؛toresponse($request)؛
}
if ($response instanceof psrresponseinterface) {
$response = (new httpfoundationfactory)->؛createresponse($response)؛
} elseif ($response instanceof model &؛&؛ $response->؛wasrecentlycreated) {
$response = new jsonresponse($response, 201)؛
} elseif (! $response instanceof symfonyresponse &؛&؛
arguments
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
view {#595}
/var/www/n.qamshy.kz/htdocs/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)؛
}
/**
arguments
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
view {#595}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#420 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/session/middleware/authenticatesession.php
*
* @param \illuminate\contracts\auth\factory $auth
* @return void
*/
public function __construct(authfactory $auth)
{
$this->؛auth = $auth؛
}
/**
* handle an incoming request.
*
* @param \illuminate\http\request $request
* @param \closure $next
* @return mixed
*/
public function handle($request, closure $next)
{
if (! $request->؛user() || ! $request->؛session()) {
return $next($request)؛
}
if ($this->؛auth->؛viaremember()) {
$passwordhash = explode('؛|'؛, $request->؛cookies->؛get($this->؛auth->؛getrecallername()))[2]؛
if ($passwordhash != $request->؛user()->؛getauthpassword()) {
$this->؛logout($request)؛
}
}
if (! $request->؛session()->؛has('؛password_hash'؛)) {
$this->؛storepasswordhashinsession($request)؛
}
if ($request->؛session()->؛get('؛password_hash'؛) !== $request->؛user()->؛getauthpassword()) {
$this->؛logout($request)؛
}
return tap($next($request), function () use ($request) {
$this->؛storepasswordhashinsession($request)؛
arguments
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#549 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#550 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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)
{
if (! $this->؛sessionconfigured()) {
return $next($request)؛
}
// if a session driver has been configured, we will need to start the session here
// so that the data is ready for an application. note that the laravel sessions
// do not make use of php "؛native"؛ sessions in any way since they are crappy.
$request->؛setlaravelsession(
$session = $this->؛startsession($request)
)؛
$this->؛collectgarbage($session)؛
$response = $next($request)؛
$this->؛storecurrenturl($request, $session)؛
$this->؛addcookietoresponse($response, $session)؛
// again, if the session has been configured we will need to close out the session
// so that the attributes may be persisted to some storage medium. we will also
// add the session identifier cookie to the application response headers now.
$this->؛savesession($request)؛
return $response؛
}
/**
* start the session for the given request.
*
* @param \illuminate\http\request $request
* @return \illuminate\contracts\session\session
*/
protected function startsession(request $request)
arguments
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#551 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#552 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#553 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/pipeline/pipeline.php
public function via($method)
{
$this->؛method = $method؛
return $this؛
}
/**
* run the pipeline with a final destination callback.
*
* @param \closure $destination
* @return mixed
*/
public function then(closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->؛pipes), $this->؛carry(), $this->؛preparedestination($destination)
)؛
return $pipeline($this->؛passable)؛
}
/**
* run the pipeline and return the result.
*
* @return mixed
*/
public function thenreturn()
{
return $this->؛then(function ($passable) {
return $passable؛
})؛
}
/**
* get the final piece of the closure onion.
*
* @param \closure $destination
* @return \closure
*/
arguments
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
closure($request) {#414 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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 \illuminate\http\response|\illuminate\http\jsonresponse
*/
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
route {#385}
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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 \illuminate\http\response|\illuminate\http\jsonresponse
*/
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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
route {#385}
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/routing/router.php
* @return \illuminate\http\response|\illuminate\http\jsonresponse
*/
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 \illuminate\http\response|\illuminate\http\jsonresponse
*/
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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#44 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/foundation/http/middleware/transformsrequest.php
namespace illuminate\foundation\http\middleware؛
use closure؛
use symfony\component\httpfoundation\parameterbag؛
class transformsrequest
{
/**
* handle an incoming request.
*
* @param \illuminate\http\request $request
* @param \closure $next
* @return mixed
*/
public function handle($request, closure $next)
{
$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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#159 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/foundation/http/middleware/transformsrequest.php
namespace illuminate\foundation\http\middleware؛
use closure؛
use symfony\component\httpfoundation\parameterbag؛
class transformsrequest
{
/**
* handle an incoming request.
*
* @param \illuminate\http\request $request
* @param \closure $next
* @return mixed
*/
public function handle($request, closure $next)
{
$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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#161 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#392 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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->؛getcontainer()->؛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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
closure($passable) {#393 &hellip؛5}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/vendor/laravel/framework/src/illuminate/pipeline/pipeline.php
public function via($method)
{
$this->؛method = $method؛
return $this؛
}
/**
* run the pipeline with a final destination callback.
*
* @param \closure $destination
* @return mixed
*/
public function then(closure $destination)
{
$pipeline = array_reduce(
array_reverse($this->؛pipes), $this->؛carry(), $this->؛preparedestination($destination)
)؛
return $pipeline($this->؛passable)؛
}
/**
* run the pipeline and return the result.
*
* @return mixed
*/
public function thenreturn()
{
return $this->؛then(function ($passable) {
return $passable؛
})؛
}
/**
* get the final piece of the closure onion.
*
* @param \closure $destination
* @return \closure
*/
arguments
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
closure($request) {#162 &hellip؛4}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}
/var/www/n.qamshy.kz/htdocs/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
request {#43
#json: null
#convertedfiles: null
#userresolver: closure($guard = null) {#410 &hellip؛5}
#routeresolver: closure() {#412 &hellip؛5}
+attributes: parameterbag {#45}
+request: parameterbag {#51}
+query: parameterbag {#51}
+server: serverbag {#47}
+files: filebag {#48}
+cookies: parameterbag {#46}
+headers: headerbag {#49}
#content: null
#languages: null
#charsets: null
#encodings: null
#acceptablecontenttypes: array:1 [
0 => "*/*"
]
#pathinfo: "/category/news"
#requesturi: "/category/news"
#baseurl: ""
#basepath: null
#method: "get"
#format: null
#session: store {#565}
#locale: null
#defaultlocale: "en"
-ishostvalid: true
-isforwardedvalid: true
basepath: ""
format: "html"
}