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

SwappedLocationProperties   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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