OutputDataInterface.php 319 Bytes
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php
namespace Consolidation\AnnotatedCommand;

/**
 * If an annotated command method returns an object that
 * implements OutputDataInterface, then the getOutputData()
 * method is used to fetch the output to print from the
 * result object.
 */
interface OutputDataInterface
{
    public function getOutputData();
}