| 1 | <?php |
||
| 14 | class EntityApiLookup implements EntityLookup { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var RevisionGetter |
||
| 18 | */ |
||
| 19 | private $revisionGetter; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param RevisionGetter $revisionGetter |
||
| 23 | */ |
||
| 24 | public function __construct( RevisionGetter $revisionGetter ) { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @see EntityLookup::getEntity |
||
| 30 | */ |
||
| 31 | public function getEntity( EntityId $entityId ) { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @see EntityLookup::hasEntity |
||
| 43 | */ |
||
| 44 | public function hasEntity( EntityId $entityId ) { |
||
| 53 | } |
||
| 54 |