1 | <?php |
||
11 | final class FileDumper implements DumperInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var DumperInterface |
||
15 | */ |
||
16 | private $dumper; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $outputFile; |
||
22 | |||
23 | /** |
||
24 | * @param DumperInterface $dumper |
||
25 | * @param string $outputFile |
||
26 | */ |
||
27 | public function __construct(DumperInterface $dumper, string $outputFile) |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function dump(Workout $workout): string |
||
46 | } |
||
47 |