SerializerEvents::__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 0
Metric Value
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 1
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/*
4
 * This file is part of the Ivory Serializer package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ivory\Serializer\Event;
13
14
/**
15
 * @author GeLo <[email protected]>
16
 */
17
final class SerializerEvents
18
{
19
    const CLASS_METADATA_LOAD = 'serializer.class_metadata.load';
20
    const CLASS_METADATA_NOT_FOUND = 'serializer.class_metadata.not_found';
21
22
    const PRE_SERIALIZE = 'serializer.pre_serialize';
23
    const POST_SERIALIZE = 'serializer.post_serialize';
24
25
    const PRE_DESERIALIZE = 'serializer.pre_deserialize';
26
    const POST_DESERIALIZE = 'serializer.post_deserialize';
27
28
    private function __construct()
29
    {
30
    }
31
}
32