| 1 | <?php namespace Algorit\Synchronizer; |
||
| 5 | class Receiver { |
||
| 6 | |||
| 7 | /** |
||
| 8 | * Receive data from ERP |
||
| 9 | * |
||
| 10 | * @return void |
||
| 11 | */ |
||
| 12 | public function fromErp(RequestInterface $request, $entity, $lastSync) |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Get data from the Database |
||
| 19 | * |
||
| 20 | * @return void |
||
| 21 | */ |
||
| 22 | public function fromDatabase(RequestInterface $request, $entity, $lastSync) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Receive data from a Device (Api) |
||
| 31 | * |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function fromApi($data) |
||
| 38 | |||
| 39 | } |