Completed
Push — work-fleets ( 094cef...4ec5b3 )
by SuperNova.WS
06:12
created

V2UnitContainer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 10
Bugs 1 Features 1
Metric Value
dl 0
loc 9
rs 10
c 10
b 1
f 1
ccs 0
cts 3
cp 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A setFeatureLocator() 0 3 1
1
<?php
2
/**
3
 * Created by Gorlum 10.08.2016 14:25
4
 */
5
6
namespace V2Unit;
7
8
/**
9
 * Class V2UnitContainer
10
 *
11
 * @method V2UnitModel getModel()
12
 *
13
 * @property int|string $dbId Entity DB ID
14
 * @property int|string $playerOwnerId
15
 * @property int        $locationType
16
 * @property int|string $locationId
17
 * @property int        $type
18
 * @property int        $snId
19
 * @property int        $level - level of unit for DB: $count for stackable units, $level - fon unstackable units
20
 * @property \DateTime  $timeStart
21
 * @property \DateTime  $timeFinish
22
 *
23
 * @property bool       $isStackable
24
 * @property string     $locationDefaultType
25
 * @property int        $bonusType
26
 * @property array      $unitInfo - full info about unit
27
 *
28
 * @property            $features - unit feature list
29
 *
30
 * @package V2Unit
31
 */
32
class V2UnitContainer extends \EntityContainer {
33
34
  protected $featureLocator;
35
36
  public function setFeatureLocator($featureLocator) {
37
    $this->featureLocator = $featureLocator;
38
  }
39
40
}
41