__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
declare(strict_types=1);
namespace League\Pipeline;
class Pipeline implements PipelineInterface
{
/**
* @var callable[]
*/
private $stages = [];
/**
* @var ProcessorInterface
*/
private $processor;
public function __construct(ProcessorInterface $processor = null, callable ...$stages)
{
$this->processor = $processor ?? new FingersCrossedProcessor;
$this->stages = $stages;
}
public function pipe(callable $stage): PipelineInterface
{
$pipeline = clone $this;
$pipeline->stages[] = $stage;
return $pipeline;
}
public function process($payload)
{
return $this->processor->process($payload, ...$this->stages);
}
public function __invoke($payload)
{
return $this->process($payload);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| FingersCrossedProcessor.php | File | 310 B | 0664 |
|
| InterruptibleProcessor.php | File | 585 B | 0664 |
|
| Pipeline.php | File | 838 B | 0664 |
|
| PipelineBuilder.php | File | 515 B | 0664 |
|
| PipelineBuilderInterface.php | File | 368 B | 0664 |
|
| PipelineInterface.php | File | 279 B | 0664 |
|
| ProcessorInterface.php | File | 283 B | 0664 |
|
| StageInterface.php | File | 237 B | 0664 |
|