1 | <?php |
||
10 | class Output implements OutputInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var FileOutputInterface |
||
14 | */ |
||
15 | private $fileImpl; |
||
16 | |||
17 | /** |
||
18 | * @var ImageOutputInterface |
||
19 | */ |
||
20 | private $imageImpl; |
||
21 | |||
22 | 150 | public function __construct(FileOutputInterface $fileOutput = null, ImageOutputInterface $imageOutput = null) |
|
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | 2 | public function file($name, $content, $override) |
|
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | */ |
||
39 | public function imageFile($content, $name, $format, $override) |
||
43 | |||
44 | /** |
||
45 | * @inheritdoc |
||
46 | */ |
||
47 | public function image($content, $format, $sendHeader) |
||
51 | |||
52 | /** |
||
53 | * @inheritdoc |
||
54 | */ |
||
55 | public function setFileOutput(FileOutputInterface $fileOutput) |
||
59 | |||
60 | /** |
||
61 | * @inheritdoc |
||
62 | */ |
||
63 | public function setImageOutput(ImageOutputInterface $imageOutput) |
||
67 | } |