Completed
Push — work-fleets ( 9e987d...ec9dc8 )
by SuperNova.WS
06:04
created

V2UnitContainer::isEmpty()   B

Complexity

Conditions 7
Paths 7

Size

Total Lines 16
Code Lines 15

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 56

Importance

Changes 4
Bugs 0 Features 0
Metric Value
cc 7
eloc 15
nc 7
nop 0
dl 0
loc 16
rs 8.2222
c 4
b 0
f 0
ccs 0
cts 16
cp 0
crap 56
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