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

V2UnitContainer::setFeatureLocator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 3
rs 10
c 1
b 0
f 1
ccs 0
cts 3
cp 0
crap 2
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