ApiClient::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 3
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AbterPhp\Admin\Grid\Filters;
6
7
use AbterPhp\Framework\Grid\Component\Filters;
8
use AbterPhp\Framework\Grid\Filter\LikeFilter;
9
10
class ApiClient extends Filters
11
{
12
    /**
13
     * ApiClient 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->add(new LikeFilter('description', 'admin:apiClientDescription'));
24
    }
25
}
26