| 1 | <?php |
||
| 10 | abstract class AbstractOutputContainer implements OutputContainerInterface |
||
| 11 | { |
||
| 12 | /** @var string */ |
||
| 13 | protected $singleResultMarker; |
||
| 14 | |||
| 15 | /** @var string */ |
||
| 16 | protected $tag; |
||
| 17 | |||
| 18 | /** @var string */ |
||
| 19 | protected $title; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * OutputContainer constructor. |
||
| 23 | * @param string $tag |
||
| 24 | * @param string $title |
||
| 25 | * @param string $singleResultMarker |
||
| 26 | */ |
||
| 27 | 11 | public function __construct($tag, $title, $singleResultMarker) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public function getTag() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | public function getTitle() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return string |
||
| 52 | */ |
||
| 53 | public function getSingleResultMarker() |
||
| 57 | |||
| 58 | abstract public function addToOutputBuffer(ProcessWithResultsInterface $process, $message); |
||
| 59 | |||
| 60 | abstract public function getFileNames(); |
||
| 61 | |||
| 62 | abstract public function getOutputBuffer(); |
||
| 63 | |||
| 64 | abstract public function countFiles(); |
||
| 65 | } |
||
| 66 |