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

RankingSystemChange   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\RankingSystemChangeInterface;
16
17
/**
18
 * Class RankingSystemList
19
 * @package Tfboe\FmLib\Entity
20
 * @ORM\Entity
21
 * @ORM\Table(name="rankingSystemChanges")
22
 *
23
 * Dynamic method hints for Elo ranking
24
 * @method int getPlayedGames()
25
 * @method setPlayedGames(int $playedGames)
26
 * @method int getRatedGames()
27
 * @method setRatedGames(int $ratedGames)
28
 * @method float getProvisoryRanking()
29
 * @method setProvisoryRanking(float $provisoryRanking)
30
 */
31
class RankingSystemChange extends BaseEntity implements RankingSystemChangeInterface
32
{
33
  use \Tfboe\FmLib\Entity\Traits\RankingSystemChange;
34
35
  /**
36
   * RankingSystem constructor.
37
   * @param array $keys
38
   */
39
  public function __construct(array $keys)
40
  {
41
    $this->init($keys);
42
  }
43
}