function annotationcommand_adapter_call_hook_post_command

master annotationcommand_adapter_call_hook_post_command($names, CommandData $commandData, $return)

Convert from an old-style Drush post-command hook into annotated-command hooks.


string[] $names All of the applicable names for the command being hooked:

CommandData $commandData All of the parameter data associated with the: current command invokation, including the InputInterface, OutputInterface and AnnotationData

mixed $return The return value of the command being executed:

Return value

mixed The altered command return value

See also



includes/, line 644


function annotationcommand_adapter_call_hook_post_command($names, CommandData $commandData, $return) {
  return annotationcommand_adapter_call_process_interface($names, [HookManager::POST_COMMAND_HOOK], $commandData, $return);