!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/smabpro.picotech.app/public_html/vendor/maatwebsite/excel/src/Jobs/   drwxr-xr-x
Free 28.54 GB of 117.98 GB (24.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

namespace Maatwebsite\Excel\Jobs;

use 
Illuminate\Bus\Queueable;
use 
Illuminate\Contracts\Queue\ShouldQueue;
use 
Illuminate\Queue\InteractsWithQueue;
use 
Illuminate\Support\Collection;
use 
Maatwebsite\Excel\Concerns\WithEvents;
use 
Maatwebsite\Excel\Events\ImportFailed;
use 
Maatwebsite\Excel\HasEventBus;
use 
Maatwebsite\Excel\Reader;
use 
Throwable;

class 
AfterImportJob implements ShouldQueue
{
    use 
HasEventBusInteractsWithQueueQueueable;

    
/**
     * @var WithEvents
     */
    
private $import;

    
/**
     * @var Reader
     */
    
private $reader;

    
/**
     * @var iterable
     */
    
private $dependencyIds = [];

    private 
$interval 60;

    
/**
     * @param  object  $import
     * @param  Reader  $reader
     */
    
public function __construct($importReader $reader)
    {
        
$this->import $import;
        
$this->reader $reader;
    }

    public function 
setInterval(int $interval)
    {
        
$this->interval $interval;
    }

    public function 
setDependencies(Collection $jobs)
    {
        
$this->dependencyIds $jobs->map(function (ReadChunk $job) {
            return 
$job->getUniqueId();
        })->
all();
    }

    public function 
handle()
    {
        foreach (
$this->dependencyIds as $id) {
            if (!
ReadChunk::isComplete($id)) {
                
// Until there is no jobs left to run we put this job back into the queue every minute
                // Note: this will do nothing in a SyncQueue but that's desired, because in a SyncQueue jobs run in order
                
$this->release($this->interval);

                return;
            }
        }

        if (
$this->import instanceof ShouldQueue && $this->import instanceof WithEvents) {
            
$this->reader->clearListeners();
            
$this->reader->registerListeners($this->import->registerEvents());
        }

        
$this->reader->afterImport($this->import);
    }

    
/**
     * @param  Throwable  $e
     */
    
public function failed(Throwable $e)
    {
        if (
$this->import instanceof WithEvents) {
            
$this->registerListeners($this->import->registerEvents());
            
$this->raise(new ImportFailed($e));

            if (
method_exists($this->import'failed')) {
                
$this->import->failed($e);
            }
        }
    }
}

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