view vendor/consolidation/annotated-command/src/Hooks/ExtractOutputInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
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);
}