function annotationcommand_adapter_call_hook_post_command

master annotationcommand_adapter.inc annotationcommand_adapter_call_hook_post_command($names, CommandData $commandData, $return)

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

Parameters

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

_drush_invoke_hooks().

File

includes/annotationcommand_adapter.inc, line 644
annotationcommand_adapter.inc

Code

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