blob: 4489033b223d6448811ca478e5084f85bfa82cdd (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<?php
namespace Civi\Api4\Event;
use Civi\Api4\Query\Api4SelectQuery;
use Symfony\Component\EventDispatcher\Event;
class PostSelectQueryEvent extends Event {
/**
* @var array
*/
protected $results;
/**
* @var Api4SelectQuery
*/
protected $query;
/**
* PostSelectQueryEvent constructor.
* @param array $results
* @param Api4SelectQuery $query
*/
public function __construct(array $results, Api4SelectQuery $query) {
$this->results = $results;
$this->query = $query;
}
/**
* @return array
*/
public function getResults() {
return $this->results;
}
/**
* @param array $results
* @return $this
*/
public function setResults($results) {
$this->results = $results;
return $this;
}
/**
* @return Api4SelectQuery
*/
public function getQuery() {
return $this->query;
}
/**
* @param Api4SelectQuery $query
* @return $this
*/
public function setQuery($query) {
$this->query = $query;
return $this;
}
}
|