1 | <?php |
||
5 | class ImportConfiguration |
||
6 | { |
||
7 | private $importerId = null; |
||
8 | |||
9 | /** |
||
10 | * @var StorageSelection |
||
11 | */ |
||
12 | private $sourceStorageSelection; |
||
13 | |||
14 | 18 | public function __construct(StorageSelection $sourceStorageSelection = null, $importerId = null) |
|
23 | |||
24 | /** |
||
25 | * @return ImportConfiguration |
||
26 | */ |
||
27 | 1 | public function setSourceStorageSelection(StorageSelection $sourceStorageSelection) |
|
33 | |||
34 | /** |
||
35 | * @return StorageSelection |
||
36 | */ |
||
37 | public function getSourceStorageSelection() |
||
41 | |||
42 | /** |
||
43 | * @return ImportConfiguration |
||
44 | */ |
||
45 | 1 | public function setImporterId($importerId) |
|
55 | |||
56 | 1 | public function getImporterId() |
|
60 | |||
61 | 8 | public function toArray() |
|
71 | |||
72 | /** |
||
73 | * @return ImportRun |
||
74 | */ |
||
75 | 9 | public function toRun($createdBy = null) |
|
79 | } |
||
80 |