Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
9 | class UserListQuery extends Query |
||
10 | { |
||
11 | /** |
||
12 | * @var string Query string containing portions of a User's name |
||
13 | */ |
||
14 | private $nameQuery; |
||
15 | |||
16 | /** |
||
17 | * TeamListQuery constructor. |
||
18 | * |
||
19 | * @param string $nameQuery |
||
20 | */ |
||
21 | public function __construct(string $nameQuery) |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * Retrieve a Query builder. |
||
28 | * |
||
29 | * @return UserBuilder |
||
30 | */ |
||
31 | protected function builder(): UserBuilder |
||
32 | { |
||
33 | return User::query(); |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Execute a Team ajax search. |
||
38 | * |
||
39 | * @return array |
||
40 | */ |
||
41 | public function execute(): array |
||
48 | } |
||
49 | } |
||
50 |