Completed
Push — master ( 7f186d...ef28ef )
by Philip
03:23
created

AbstractEntity::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
4
namespace Dontdrinkandroot\Entity;
5
6
abstract class AbstractEntity implements EntityInterface
7
{
8
    public function __construct()
9
    {
10
    }
11
12
    /**
13
     * @deprecated
14
     */
15
    public function isPersisted()
16
    {
17
        return null !== $this->getId();
18
    }
19
}
20