| 1 | <?php | ||
| 14 | class MatchDataProvider extends AbstractDataProvider | ||
| 15 | { | ||
| 16 | /** @var PlayerStorage */ | ||
| 17 | protected $playerStorage; | ||
| 18 | |||
| 19 | /** @var Connection */ | ||
| 20 | protected $connection; | ||
| 21 | |||
| 22 | /** | ||
| 23 | * MatchDataProvider constructor. | ||
| 24 | * | ||
| 25 | * @param PlayerStorage $playerStorage | ||
| 26 | * @param Connection $connection | ||
| 27 | */ | ||
| 28 | 9 | public function __construct(PlayerStorage $playerStorage, Connection $connection) | |
| 33 | |||
| 34 | 1 | public function onBeginMap($map) | |
| 38 | |||
| 39 | 1 | public function onEndMap($map) | |
| 44 | } | ||
| 45 |