RoundTime   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 17
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 1 1
1
<?php
2
namespace PhpDraft\Domain\Entities;
3
4
class RoundTime {
5
  /** @var int $round_time_id The unique identifier for this round time */
6
  public $round_time_id;
7
8
  /** @var int $draft_id The unique identifier for the draft this round time belongs to */
9
  public $draft_id;
10
11
  /** @var bool $is_static_time Determines if this round time is for all rounds (static/true) or is specified per round (dynamic/false) */
12
  public $is_static_time;
13
14
  /** @var int $draft_round The round this round time is for. If $is_static_time is true, this should be null */
15
  public $draft_round;
16
17
  /** @var int $round_time_seconds Number of whole seconds this round time specifies */
18
  public $round_time_seconds;
19
20
  public function __construct() {
21
    //Leaving this here in case any init is needed on new round times
22
  }
23
}