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

RankingSystemChange::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
rs 10
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
}