Changeset View
Changeset View
Standalone View
Standalone View
src/Entity/Search.php
- This file was added.
1 | <?php | ||||
---|---|---|---|---|---|
2 | | ||||
3 | namespace App\Entity; | ||||
4 | | ||||
5 | class Search | ||||
6 | { | ||||
7 | protected $searchTerm; | ||||
8 | | ||||
9 | /** | ||||
10 | * @return string|null | ||||
11 | */ | ||||
12 | public function getSearchTerm(): ?string | ||||
13 | { | ||||
14 | return $this->searchTerm; | ||||
15 | } | ||||
16 | | ||||
17 | /** | ||||
18 | * @param string|null $search | ||||
19 | */ | ||||
20 | public function setSearchTerm(?string $search): void | ||||
21 | { | ||||
22 | $this->searchTerm = $search; | ||||
23 | } | ||||
24 | } | ||||
25 | |