PersistenceEvents::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 2
c 0
b 0
f 0
ccs 0
cts 1
cp 0
rs 10
cc 1
eloc 0
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Vox\Webservice\Event;
4
5
final class PersistenceEvents
6
{
7
    const PRE_FLUSH    = 'preFlush';
8
9
    const PRE_PERSIST  = 'prePersist';
10
    
11
    const PRE_UPDATE   = 'preUpdate';
12
    
13
    const PRE_REMOVE   = 'preRemove';
14
15
    const POST_PERSIST = 'postPersist';
16
17
    const POST_UPDATE  = 'postUpdate';
18
    
19
    const POST_REMOVE  = 'postRemove';
20
21
    const POST_FLUSH   = 'postFlush';
22
23
    const ON_LOAD      = 'onLoad';
24
    
25
    const ON_EXCEPTION = 'onException';
26
27
    private function __construct()
28
    {
29
        
30
    }
31
}
32