Completed
Pull Request — master (#69)
by Manuele
04:34
created

SearchBox::getQuery()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
declare(strict_types=1);
3
4
namespace BitBag\SyliusElasticsearchPlugin\Model;
5
6
class SearchBox
7
{
8
    /** @var string|null */
9
    private $query;
10
11
    public function getQuery(): ?string
12
    {
13
        return $this->query;
14
    }
15
16
    public function setQuery(?string $query): void
17
    {
18
        $this->query = $query;
19
    }
20
}
21