| 1 |
<?php |
| 2 |
|
| 3 |
namespace TablePress\PhpOffice\PhpSpreadsheet\Chart\Renderer; |
| 4 |
|
| 5 |
use TablePress\PhpOffice\PhpSpreadsheet\Chart\Chart; |
| 6 |
|
| 7 |
interface IRenderer |
| 8 |
{ |
| 9 |
/** |
| 10 |
* IRenderer constructor. |
| 11 |
*/ |
| 12 |
public function __construct(Chart $chart); |
| 13 |
|
| 14 |
/** |
| 15 |
* Render the chart to given file (or stream). |
| 16 |
* |
| 17 |
* @param ?string $filename Name of the file render to |
| 18 |
* |
| 19 |
* @return bool true on success |
| 20 |
*/ |
| 21 |
public function render(?string $filename): bool; |
| 22 |
} |
| 23 |
|