for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* User: alec
* Date: 10.12.18
* Time: 14:25
*/
declare(strict_types=1);
namespace AlecRabbit\Tools\Reports\Formatters;
use AlecRabbit\Tools\Contracts\StringConstants;
use AlecRabbit\Tools\Reports\Contracts\ReportInterface;
use AlecRabbit\Tools\Reports\Formatters\Contracts\Formatter;
abstract class ReportFormatter implements Formatter, StringConstants
{
/** @var ReportInterface */
protected $report;
* Formatter constructor.
* @param ReportInterface $report
public function __construct(ReportInterface $report)
$this->report = $report;
}
/** {@inheritdoc} */
abstract public function getString(): string;