MultiTenancyEvents::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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