1 | <?php |
||
5 | class Context extends MagicMap |
||
6 | { |
||
7 | public $import = true; |
||
8 | /** @var DataPreProcessor */ |
||
9 | public $dataPreProcessor; |
||
10 | /** @var RefResolver */ |
||
11 | public $refResolver; |
||
12 | |||
13 | /** @var RemoteRefProvider */ |
||
14 | public $remoteRefProvider; |
||
15 | |||
16 | /** @var string */ |
||
17 | public $propagateObjectItemClass; |
||
18 | |||
19 | /** @var \SplObjectStorage */ |
||
20 | public $circularReferences; |
||
21 | |||
22 | /** @var bool */ |
||
23 | public $skipValidation = false; |
||
24 | |||
25 | /** @var string[] map of from -> to class names */ |
||
26 | public $objectItemClassMapping; |
||
27 | |||
28 | /** |
||
29 | * @param boolean $skipValidation |
||
30 | * @return Context |
||
31 | */ |
||
32 | public function setSkipValidation($skipValidation = true) |
||
37 | |||
38 | |||
39 | /** |
||
40 | * ProcessingOptions constructor. |
||
41 | * @param RemoteRefProvider $remoteRefProvider |
||
42 | */ |
||
43 | public function __construct(RemoteRefProvider $remoteRefProvider = null) |
||
47 | |||
48 | /** |
||
49 | * @return DataPreProcessor |
||
50 | */ |
||
51 | public function getDataPreProcessor() |
||
55 | |||
56 | /** |
||
57 | * @param DataPreProcessor $dataPreProcessor |
||
58 | * @return Context |
||
59 | */ |
||
60 | public function setDataPreProcessor($dataPreProcessor) |
||
65 | |||
66 | /** |
||
67 | * @return RemoteRefProvider |
||
68 | */ |
||
69 | public function getRemoteRefProvider() |
||
73 | |||
74 | /** |
||
75 | * @param RemoteRefProvider $remoteRefProvider |
||
76 | * @return Context |
||
77 | */ |
||
78 | public function setRemoteRefProvider($remoteRefProvider) |
||
83 | |||
84 | |||
85 | } |