1 | <?php |
||
17 | class File implements DataProviderInterface |
||
18 | { |
||
19 | /** |
||
20 | * Path to the file. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $file; |
||
25 | |||
26 | /** |
||
27 | * File constructor. |
||
28 | * |
||
29 | * @param string $file |
||
30 | */ |
||
31 | 1 | public function __construct($file) |
|
35 | |||
36 | /** |
||
37 | * Returns path to the file. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | 1 | public function getPath() |
|
45 | } |
||
46 |