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