Mercurial > hg > cmmr2012-drupal-site
annotate vendor/consolidation/annotated-command/src/Hooks/ExtractOutputInterface.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
rev | line source |
---|---|
Chris@0 | 1 <?php |
Chris@0 | 2 namespace Consolidation\AnnotatedCommand\Hooks; |
Chris@0 | 3 |
Chris@0 | 4 /** |
Chris@0 | 5 * Extract Output hooks are used to select the particular |
Chris@0 | 6 * data elements of the result that should be printed as |
Chris@0 | 7 * the command output -- perhaps after being formatted. |
Chris@0 | 8 * |
Chris@0 | 9 * @see HookManager::addOutputExtractor() |
Chris@0 | 10 */ |
Chris@0 | 11 interface ExtractOutputInterface |
Chris@0 | 12 { |
Chris@0 | 13 public function extractOutput($result); |
Chris@0 | 14 } |