| 1 | <?php |
||
| 11 | class MapsTestFactory extends MapsFactory { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Can be exposed via getter type in PHP 7.4+ |
||
| 15 | * @var InMemoryImageRepository |
||
| 16 | */ |
||
| 17 | public $imageRepo; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Initializes a new test instance, updates the global instance used by production code and returns it. |
||
| 21 | */ |
||
| 22 | public static function newTestInstance(): self { |
||
| 29 | |||
| 30 | public function getImageRepository(): ImageRepository { |
||
| 33 | |||
| 34 | } |
||
| 35 |