view vendor/consolidation/annotated-command/src/Hooks/ExtractOutputInterface.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
<?php
namespace Consolidation\AnnotatedCommand\Hooks;

/**
 * Extract Output hooks are used to select the particular
 * data elements of the result that should be printed as
 * the command output -- perhaps after being formatted.
 *
 * @see HookManager::addOutputExtractor()
 */
interface ExtractOutputInterface
{
    public function extractOutput($result);
}