!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/queuepro/vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/   drwxrwxr-x
Free 13.14 GB of 57.97 GB (22.67%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     InteractsWithViews.php (2.34 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Foundation\Testing\Concerns;

use 
Illuminate\Support\Facades\View as ViewFacade;
use 
Illuminate\Support\MessageBag;
use 
Illuminate\Support\ViewErrorBag;
use 
Illuminate\Testing\TestComponent;
use 
Illuminate\Testing\TestView;
use 
Illuminate\View\View;

trait 
InteractsWithViews
{
    
/**
     * Create a new TestView from the given view.
     *
     * @param  string  $view
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @return \Illuminate\Testing\TestView
     */
    
protected function view(string $view$data = [])
    {
        return new 
TestView(view($view$data));
    }

    
/**
     * Render the contents of the given Blade template string.
     *
     * @param  string  $template
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @return \Illuminate\Testing\TestView
     */
    
protected function blade(string $template$data = [])
    {
        
$tempDirectory sys_get_temp_dir();

        if (! 
in_array($tempDirectoryViewFacade::getFinder()->getPaths())) {
            
ViewFacade::addLocation(sys_get_temp_dir());
        }

        
$tempFileInfo pathinfo(tempnam($tempDirectory'laravel-blade'));

        
$tempFile $tempFileInfo['dirname'].'/'.$tempFileInfo['filename'].'.blade.php';

        
file_put_contents($tempFile$template);

        return new 
TestView(view($tempFileInfo['filename'], $data));
    }

    
/**
     * Render the given view component.
     *
     * @param  string  $componentClass
     * @param  \Illuminate\Contracts\Support\Arrayable|array  $data
     * @return \Illuminate\Testing\TestComponent
     */
    
protected function component(string $componentClass$data = [])
    {
        
$component $this->app->make($componentClass$data);

        
$view value($component->resolveView(), $data);

        
$view $view instanceof View
            
$view->with($component->data())
            : 
view($view$component->data());

        return new 
TestComponent($component$view);
    }

    
/**
     * Populate the shared view error bag with the given errors.
     *
     * @param  array  $errors
     * @param  string  $key
     * @return $this
     */
    
protected function withViewErrors(array $errors$key 'default')
    {
        
ViewFacade::share('errors', (new ViewErrorBag)->put($key, new MessageBag($errors)));

        return 
$this;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0059 ]--