-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSearchUsersData.php
44 lines (35 loc) · 993 Bytes
/
SearchUsersData.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @copyright Copyright (C) Ibexa AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);
namespace Ibexa\Bundle\Search\Form\Data;
class SearchUsersData
{
/** @var string */
private $query;
/** @var \Ibexa\Contracts\Core\Repository\Values\Content\Content[] */
private $possibleUsers;
public function __construct(array $possibleUsers = [], ?string $query = null)
{
$this->query = $query;
$this->possibleUsers = $possibleUsers;
}
public function getQuery(): ?string
{
return $this->query;
}
public function setQuery(?string $query): void
{
$this->query = $query;
}
public function getPossibleUsers(): array
{
return $this->possibleUsers;
}
public function setPossibleUsers(array $possibleUsers): void
{
$this->possibleUsers = $possibleUsers;
}
}