Completed
Push — master ( 6fba66...640c23 )
by
unknown
32:41 queued 12:46
created

SwappedLocationProperties::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
nc 1
dl 0
loc 5
c 0
b 0
f 0
cc 1
eloc 3
nop 2
rs 9.4285
1
<?php
2
3
/**
4
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
5
 * @license For full copyright and license information view LICENSE file distributed with this source code.
6
 */
7
namespace eZ\Publish\Core\Persistence\Legacy\Content\UrlAlias\DTO;
8
9
/**
10
 * @internal To be used internally by UrlAlias Persistence Handler.
11
 */
12
class SwappedLocationProperties
13
{
14
    public function __construct($id, $parentId)
15
    {
16
        $this->id = $id;
17
        $this->parentId = $parentId;
18
    }
19
20
    /**
21
     * @var int
22
     */
23
    public $id;
24
25
    /**
26
     * @var int
27
     */
28
    public $parentId;
29
30
    /**
31
     * @var string
32
     */
33
    public $name;
34
35
    /**
36
     * @var int
37
     */
38
    public $mainLanguageId;
39
40
    /**
41
     * @var int
42
     */
43
    public $autogeneratedId;
44
45
    /**
46
     * @var bool
47
     */
48
    public $isAlwaysAvailable;
49
50
    /**
51
     * Raw database records (entries).
52
     *
53
     * @var array
54
     */
55
    public $entries;
56
}
57