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/12.x/src/Commands/LegacyCommands.php

Constants

NAME

Methods

static 
handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Details

static handle(ReflectionAttribute $attribute, CommandInfo $commandInfo)

No description

Parameters

ReflectionAttribute $attribute
CommandInfo $commandInfo