Completed
Push — master ( 685463...a3ac99 )
by Benedikt
13:47
created

Competition::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
rs 9.4285
1
<?php
2
declare(strict_types=1);
3
/**
4
 * Created by PhpStorm.
5
 * User: benedikt
6
 * Date: 1/28/18
7
 * Time: 11:37 PM
8
 */
9
10
namespace Tfboe\FmLib\Tests\Entity;
11
12
use Doctrine\ORM\Mapping as ORM;
13
use Tfboe\FmLib\Entity\CompetitionInterface;
14
use Tfboe\FmLib\Entity\Helpers\TournamentHierarchyEntity;
15
16
/**
17
 * Class Competition
18
 * @package Tfboe\FmLib\Tests\Entity
19
 * @ORM\Entity
20
 * @ORM\Table(name="competitions",indexes={@ORM\Index(name="unique_name_idx", columns={"tournament_id","name"})})
21
 */
22
class Competition extends TournamentHierarchyEntity implements CompetitionInterface
23
{
24
  use \Tfboe\FmLib\Entity\Traits\Competition;
25
26
//<editor-fold desc="Constructor">
27
28
  /**
29
   * Competition constructor.
30
   */
31
  public function __construct()
32
  {
33
    parent::__construct();
34
    $this->init();
35
  }
36
//</editor-fold desc="Constructor">
37
}