RankingSystemListEntry::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Created by PhpStorm.
5
 * User: benedikt
6
 * Date: 1/5/18
7
 * Time: 10:54 PM
8
 */
9
10
namespace Tfboe\FmLib\Tests\Entity;
11
12
13
use Doctrine\ORM\Mapping as ORM;
14
use Tfboe\FmLib\Entity\Helpers\BaseEntity;
15
use Tfboe\FmLib\Entity\RankingSystemListEntryInterface;
16
17
/**
18
 * Class RankingSystemList
19
 * @package Tfboe\FmLib\Entity
20
 * @ORM\Entity
21
 * @ORM\Table(name="rankingSystemListEntry")
22
 *
23
 *
24
 * Dynamic method hints for Elo ranking
25
 * @method int getPlayedGames()
26
 * @method RankingSystemListEntry setPlayedGames(int $playedGames)
27
 * @method int getRatedGames()
28
 * @method RankingSystemListEntry setRatedGames(int $ratedGames)
29
 * @method float getProvisoryRanking()
30
 * @method RankingSystemListEntry setProvisoryRanking(float $provisoryRanking)
31
 */
32
class RankingSystemListEntry extends BaseEntity implements RankingSystemListEntryInterface
33
{
34
  use \Tfboe\FmLib\Entity\Traits\RankingSystemListEntry;
35
36
  /**
37
   * RankingSystem constructor.
38
   * @param array $keys
39
   */
40
  public function __construct(array $keys)
41
  {
42
    $this->init($keys);
43
  }
44
}