Events::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
dl 0
loc 3
ccs 0
cts 0
cp 0
rs 10
c 1
b 0
f 1
cc 1
eloc 1
nc 1
nop 0
crap 2
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