Completed
Push — 7.0_master_link_manager_merge ( e446e3 )
by André
77:34 queued 60:56
created

Validity::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
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
namespace eZ\Publish\API\Repository\Values\URL\Query\Criterion;
8
9
/**
10
 * Matches URLs based on validity flag.
11
 */
12
class Validity extends Matcher
13
{
14
    /**
15
     * If true the matcher will selects only valid URLs.
16
     *
17
     * @var bool
18
     */
19
    public $isValid;
20
21
    /**
22
     * Validity constructor.
23
     *
24
     * @param bool $isValid
25
     */
26
    public function __construct($isValid)
27
    {
28
        $this->isValid = $isValid;
29
    }
30
}
31