Events   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of Sulu.
5
 *
6
 * (c) MASSIVE ART WebServices GmbH
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Sulu\Bundle\CommentBundle\Events;
13
14
/**
15
 * Container for comment-events.
16
 */
17
final class Events
18
{
19
    const PRE_PERSIST_EVENT = 'sulu_comment.pre_persist';
20
21
    const POST_PERSIST_EVENT = 'sulu_comment.post_persist';
22
23
    const PRE_DELETE_EVENT = 'sulu_comment.pre_delete';
24
25
    const POST_DELETE_EVENT = 'sulu_comment.post_delete';
26
27
    const PRE_UPDATE_EVENT = 'sulu_comment.pre_update';
28
29
    const PUBLISH_EVENT = 'sulu_comment.publish';
30
31
    const UNPUBLISH_EVENT = 'sulu_comment.unpublish';
32
33
    const THREAD_PRE_UPDATE_EVENT = 'sulu_comment.thread.pre_update';
34
35
    const THREAD_PRE_DELETE_EVENT = 'sulu_comment.thread.pre_delete';
36
37
    const THREAD_POST_DELETE_EVENT = 'sulu_comment.thread.post_delete';
38
39
    /**
40
     * Private constructor.
41
     */
42
    private function __construct()
43
    {
44
    }
45
}
46