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

RankingSystem::__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/2/18
7
 * Time: 8:47 PM
8
 */
9
10
namespace Tfboe\FmLib\Tests\Entity;
11
12
use Doctrine\ORM\Mapping as ORM;
13
use Tfboe\FmLib\Entity\Helpers\BaseEntity;
14
use Tfboe\FmLib\Entity\RankingSystemInterface;
15
16
/**
17
 * Class RankingSystemService
18
 * @package Tfboe\FmLib\Entity
19
 * @ORM\Entity
20
 * @ORM\Table(name="rankingSystems")
21
 */
22
class RankingSystem extends BaseEntity implements RankingSystemInterface
23
{
24
  use \Tfboe\FmLib\Entity\Traits\RankingSystem;
25
26
  /**
27
   * RankingSystem constructor.
28
   * @param array $keys
29
   */
30
  public function __construct(array $keys)
31
  {
32
    $this->init($keys);
33
  }
34
}