Completed
Push — ezp_30973 ( 1b82fd...a5777c )
by
unknown
12:50
created

SectionIdentifier   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 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
declare(strict_types=1);
8
9
namespace eZ\Publish\API\Repository\Values\URL\Query\Criterion;
10
11
/**
12
 * Matches URLs which used by content placed in specified section identifiers.
13
 */
14
class SectionIdentifier extends Matcher
15
{
16
    /**
17
     * Identifiers of related content section.
18
     *
19
     * @var string[]
20
     */
21
    public $sectionIdentifiers;
22
23
    /**
24
     * @param string[] $sectionIdentifiers
25
     */
26
    public function __construct(array $sectionIdentifiers)
27
    {
28
        $this->sectionIdentifiers = $sectionIdentifiers;
29
    }
30
}
31