File   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AbterPhp\Files\Grid\Filters;
6
7
use AbterPhp\Framework\Grid\Component\Filters;
8
use AbterPhp\Framework\Grid\Filter\LikeFilter;
9
10
class File extends Filters
11
{
12
    /**
13
     * File constructor.
14
     *
15
     * @param string[]    $intents
16
     * @param array       $attributes
17
     * @param string|null $tag
18
     */
19
    public function __construct(array $intents = [], array $attributes = [], ?string $tag = null)
20
    {
21
        parent::__construct($intents, $attributes, $tag);
22
23
        $this->nodes[] = new LikeFilter('public_name', 'public_name');
24
    }
25
}
26