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

Ranking   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: 10/20/17
7
 * Time: 12:30 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\RankingInterface;
15
16
/**
17
 * Class Ranking
18
 * @package Tfboe\FmLib\Entity
19
 * @ORM\Entity
20
 * @ORM\Table(name="rankings")
21
 *
22
 * Method hint for getName, since it will never throw an exception (name gets initialized empty)
23
 * @method string getName()
24
 */
25
class Ranking extends BaseEntity implements RankingInterface
26
{
27
  use \Tfboe\FmLib\Entity\Traits\Ranking;
28
29
30
  /**
31
   * Ranking constructor.
32
   */
33
  public function __construct()
34
  {
35
    $this->init();
36
  }
37
}