1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50:
<?php
namespace Peridot\Reporter;
/**
* ReporterInterface is the contract for Peridot reporters.
*
* @package Peridot\Reporter
*/
interface ReporterInterface
{
/**
* Initialize reporter. Setup and listen for runner events
*
* @return void
*/
public function init();
/**
* Render the the text in a color identified by $key
*
* @param $key
* @param $text
* @return string
*/
public function color($key, $text);
/**
* Render the symbol identified by $name
*
* @param $name
* @return string
*/
public function symbol($name);
/**
* @return \Symfony\Component\Console\Output\OutputInterface
*/
public function getOutput();
/**
* @return \Peridot\Configuration
*/
public function getConfiguration();
/**
* @return \Evenement\EventEmitterInterface
*/
public function getEventEmitter();
}