ExtractOutputInterface.php 360 Bytes
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?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);
}