1 | <?php |
||
10 | class FileHandler |
||
11 | { |
||
12 | /** |
||
13 | * @var ConfigurationLoader |
||
14 | */ |
||
15 | protected $configurationLoader; |
||
16 | |||
17 | /** |
||
18 | * @var FileSet[] |
||
19 | */ |
||
20 | protected $fileSets; |
||
21 | |||
22 | /** |
||
23 | * @param ConfigurationLoader $configurationLoader |
||
24 | * @param array $filesConfiguration |
||
25 | */ |
||
26 | public function __construct(ConfigurationLoader $configurationLoader, array $filesConfiguration = array()) |
||
40 | |||
41 | /** |
||
42 | * Add a FileSet to the list handle by this FileHandler |
||
43 | * |
||
44 | * @param FileSet $fileSet |
||
45 | */ |
||
46 | public function addFileSet(FileSet $fileSet) |
||
50 | |||
51 | /** |
||
52 | * Retrieve FileSet list |
||
53 | * |
||
54 | * @return array|FileSet[] |
||
55 | */ |
||
56 | public function getFileSets() |
||
60 | } |
||
61 |