ConsolePrinter.php 367 Bytes
<?php
namespace Codeception\PHPUnit;

/**
 * Printer implementing this interface prints output to console, thus should be marked as printer and not just a logger
 *
 * Interface ConsolePrinter
 * @package Codeception\PHPUnit
 */
interface ConsolePrinter
{
    public function write($buffer);

    public function printResult(\PHPUnit\Framework\TestResult $result);
}