rvr-nextgen/src/Repository/CommunityRepository.php
Pőcze Bence dccb34971b
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
adapt Container usage to new soko-web
2023-04-19 23:38:43 +02:00

12 lines
257 B
PHP

<?php namespace RVR\Repository;
use RVR\PersistentData\Model\Community;
class CommunityRepository
{
public function getById(int $id): ?Community
{
return \Container::$persistentDataManager->selectFromDbById($id, Community::class);
}
}