1 | <?php |
||
17 | class Text implements DataProviderInterface |
||
18 | { |
||
19 | /** |
||
20 | * Text data to be converted. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $data; |
||
25 | |||
26 | /** |
||
27 | * Path to the generated file. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $path; |
||
32 | |||
33 | /** |
||
34 | * Text constructor. |
||
35 | * |
||
36 | * @param $data |
||
37 | */ |
||
38 | 2 | public function __construct($data) |
|
42 | |||
43 | /** |
||
44 | * Returns the path to the generated file. |
||
45 | * |
||
46 | * @return string |
||
47 | */ |
||
48 | 1 | public function getPath() |
|
57 | } |
||
58 |