| 1 | <?php |
||
| 14 | class BatchingEntityIdFetcherBuilder { |
||
| 15 | |||
| 16 | private $entityPerPageTable; |
||
| 17 | private $previousId; |
||
| 18 | |||
| 19 | private $fetchers = array(); |
||
| 20 | |||
| 21 | public function __construct( EntityPerPage $entityPerPageTable, EntityId $previousId = null ) { |
||
| 28 | |||
| 29 | private function addFetcherForEntityType( $entityType ) { |
||
| 36 | |||
| 37 | private function getPreviousIdForEntityType( $entityType ) { |
||
| 44 | |||
| 45 | public function getFetcher() { |
||
| 48 | |||
| 49 | } |
||
| 50 |