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

KeyedContainer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A isChanged() 0 3 1
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
}