StringFilter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 6
c 1
b 0
f 1
dl 0
loc 13
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 11 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace LAG\AdminBundle\Metadata\Filter;
6
7
class StringFilter extends Filter
8
{
9
    public function __construct(
10
        string $name,
11
        ?string $propertyPath = null,
12
        string $comparator = 'like',
13
        string $operator = 'and',
14
    ) {
15
        parent::__construct(
16
            $name,
17
            $propertyPath,
18
            $comparator,
19
            $operator,
20
        );
21
    }
22
}
23