Completed
Push — work-fleets ( 88e4e3...4e1f0c )
by SuperNova.WS
12:49
created

KeyedContainer::isChanged()   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 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
1
<?php
2
/**
3
 * Created by Gorlum 19.08.2016 21:23
4
 */
5
6
namespace Entity;
7
8
/**
9
 * Class KeyedContainer
10
 *
11
 * @property int|float|string $dbId Entity\EntityModel unique ID for entire entities' set
12
 * @property bool             $isLoaded - This entity was loaded
13
 * @property bool             $isDeleted - This entity was loaded
14
 *
15
 * @package Entity
16
 */
17
class KeyedContainer extends EntityContainer {
18
19
public function isChanged() {
20
  return !empty($this->delta);
21
}
22
23
}