1 | <?php |
||
10 | class Bulk extends AbstractPostEntryPoint { |
||
11 | |||
12 | /** |
||
13 | * @inheritdoc |
||
14 | */ |
||
15 | protected $_URL = 'bulk'; |
||
16 | |||
17 | /** |
||
18 | * @inheritdoc |
||
19 | */ |
||
20 | protected $_DATA_TYPE = 'array'; |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | protected $_REQUIRED_DATA = array( |
||
26 | 'requests' => NULL |
||
27 | ); |
||
28 | |||
29 | private $bulkRequest = array( |
||
30 | 'url' => '', |
||
31 | 'data' => '', |
||
32 | 'headers' => array(), |
||
33 | 'method' => '' |
||
34 | ); |
||
35 | |||
36 | /** |
||
37 | * @inheritdoc |
||
38 | * @param $data |
||
39 | * If array of EntryPoint Interfaces are passed in, it will cover that to the proper Data array for the Bulk API |
||
40 | */ |
||
41 | 1 | protected function configureData($data) { |
|
66 | } |