*/ protected $issues_data; /** @var bool */ protected $use_color; /** @var bool */ protected $show_snippet; /** @var bool */ protected $show_info; /** @var int */ protected $mixed_expression_count; /** @var int */ protected $total_expression_count; /** * @param array $issues_data * @param bool $use_color * @param bool $show_snippet * @param bool $show_info */ public function __construct( array $issues_data, bool $use_color, bool $show_snippet = true, bool $show_info = true, int $mixed_expression_count = 1, int $total_expression_count = 1 ) { $this->issues_data = $issues_data; $this->use_color = $use_color; $this->show_snippet = $show_snippet; $this->show_info = $show_info; $this->mixed_expression_count = $mixed_expression_count; $this->total_expression_count = $total_expression_count; } /** * @return string */ abstract public function create(): string; }