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

UrlAliasForSwappedLocation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 15 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 UrlAliasForSwappedLocation
13
{
14
    public function __construct(
15
        $id,
16
        $parentId,
17
        $name,
18
        $isAlwaysAvailable,
19
        $isPathIdentificationStringModified,
20
        $newId
21
    ) {
22
        $this->id = $id;
23
        $this->parentId = $parentId;
24
        $this->name = $name;
25
        $this->isAlwaysAvailable = $isAlwaysAvailable;
26
        $this->isPathIdentificationStringModified = $isPathIdentificationStringModified;
27
        $this->newId = $newId;
28
    }
29
30
    /**
31
     * @var int
32
     */
33
    public $id;
34
35
    /**
36
     * @var int
37
     */
38
    public $parentId;
39
40
    /**
41
     * @var string
42
     */
43
    public $name;
44
45
    /**
46
     * @var bool
47
     */
48
    public $isAlwaysAvailable;
49
50
    /**
51
     * @var bool
52
     */
53
    public $isPathIdentificationStringModified;
54
55
    /**
56
     * @var int
57
     */
58
    public $newId;
59
}
60