Completed
Push — master ( 8d3dbf...7592af )
by Paweł
62:36
created

ContentListEvents   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of the Superdesk Web Publisher Content List Component.
7
 *
8
 * Copyright 2016 Sourcefabric z.ú. and contributors.
9
 *
10
 * For the full copyright and license information, please see the
11
 * AUTHORS and LICENSE files distributed with this source code.
12
 *
13
 * @copyright 2016 Sourcefabric z.ú
14
 * @license http://www.superdesk.org/license
15
 */
16
17
namespace SWP\Component\ContentList;
18
19
final class ContentListEvents
20
{
21
    /**
22
     * The LIST_CRITERIA_CHANGE event occurs after list criteria are changed.
23
     *
24
     * @Event("SWP\Bundle\ContentBundle\Event\ContentListEvent")
25
     *
26
     * @var string
27
     */
28
    const LIST_CRITERIA_CHANGE = 'swp.list_criteria_change';
29
30
    /**
31
     * The POST_ITEM_ADD event occurs after adding new item to list .
32
     *
33
     * This event allows you to work with manually or automatically added list item.
34
     *
35
     * @Event("SWP\Bundle\ContentBundle\Event\ContentListEvent")
36
     *
37
     * @var string
38
     */
39
    const POST_ITEM_ADD = 'swp.content_list.post_item_add';
40
41
    private function __construct()
42
    {
43
    }
44
}
45