Completed
Push — master ( e16616...2d6e36 )
by
unknown
19:26 queued 03:33
created

SectionIdentifier::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
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