| 1 | <?php |
||
| 13 | class PlayerRepository extends \Doctrine\ORM\EntityRepository |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param string $login Login of the player to laod. |
||
| 17 | * |
||
| 18 | * @return Player|null |
||
| 19 | */ |
||
| 20 | public function findByLogin($login) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Save player data in database. |
||
| 28 | * |
||
| 29 | * @param Player[] $players |
||
| 30 | */ |
||
| 31 | public function save(array $players) |
||
| 45 | } |
||
| 46 |