| 1 | <?php |
||
| 14 | class CachedItemLookup implements ItemLookup { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var ItemLookup |
||
| 18 | */ |
||
| 19 | private $itemLookup; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var EntityDocumentCache |
||
| 23 | */ |
||
| 24 | private $entityCache; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param ItemLookup $itemLookup |
||
| 28 | * @param EntityDocumentCache $entityCache |
||
| 29 | */ |
||
| 30 | 4 | public function __construct( ItemLookup $itemLookup, EntityDocumentCache $entityCache ) { |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @see ItemLookup::getItemForId |
||
| 37 | */ |
||
| 38 | 4 | public function getItemForId( ItemId $itemId ) { |
|
| 50 | } |
||
| 51 |