Completed
Push — master ( c087ad...47fff7 )
by Benedikt
02:33
created

RankingSystemListEntry   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 13
c 0
b 0
f 0
rs 10
wmc 1
lcom 0
cbo 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
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
}