class Obsolete extends NoArgumentsBase (View source)

Mark commands as obsolete. These commands are omitted from help list and when user tries to run one, the command's description is shown. Example usage at https://github.com/drush-ops/drush/blob/14.x/src/Commands/LegacyCommands.php

Constants

NAME

Methods

static void
handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Details

static void handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Parameters

ReflectionAttribute $attribute
CommandInfo $commandInfo

Return Value

void