| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class DepthChartPosition { |
||
| 12 | /** @var int $id The unique identifier for this depth chart position */ |
||
| 13 | public $id; |
||
| 14 | |||
| 15 | /** @var int $draft_id The foreign key link to the draft that this position belongs to */ |
||
| 16 | public $draft_id; |
||
| 17 | |||
| 18 | /** @var string $position The position this object represents */ |
||
| 19 | public $position; |
||
| 20 | |||
| 21 | /** @var int $slots The number of players this position can hold per team */ |
||
| 22 | public $slots; |
||
| 23 | |||
| 24 | /** @var int $display_order The order in which to display this position for each team */ |
||
| 25 | public $display_order; |
||
| 26 | |||
| 27 | //For purposes of validation, we implement toString to define equality by the lowercase position |
||
| 28 | public function __toString() { |
||
| 30 | } |
||
| 31 | } |