MultiTenancyEvents   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 33
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the Superdesk Web Publisher MultiTenancy Bundle.
5
 *
6
 * Copyright 2015 Sourcefabric z.u. and contributors.
7
 *
8
 * For the full copyright and license information, please see the
9
 * AUTHORS and LICENSE files distributed with this source code.
10
 *
11
 * @copyright 2015 Sourcefabric z.ú
12
 * @license http://www.superdesk.org/license
13
 */
14
15
namespace SWP\Bundle\MultiTenancyBundle;
16
17
final class MultiTenancyEvents
18
{
19
    /**
20
     * The TENANT_SET event occurs after setting tenant in context.
21
     *
22
     * @Event("Symfony\Component\EventDispatcher\GenericEvent")
23
     *
24
     * @var string
25
     */
26
    const TENANT_SET = 'swp.tenant.set';
27
28
    /**
29
     * The TENANTABLE_ENABLE event occurs on tenantable filter enable.
30
     *
31
     * @Event("Symfony\Component\EventDispatcher\GenericEvent")
32
     *
33
     * @var string
34
     */
35
    const TENANTABLE_ENABLE = 'swp.tenant.tenantable_enable';
36
37
    /**
38
     * The TENANTABLE_DISABLE event occurs on tenantable filter disable.
39
     *
40
     * @Event("Symfony\Component\EventDispatcher\GenericEvent")
41
     *
42
     * @var string
43
     */
44
    const TENANTABLE_DISABLE = 'swp.tenant.tenantable_disable';
45
46
    private function __construct()
47
    {
48
    }
49
}
50