3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
12 namespace Civi\API\Event
;
16 * @package Civi\API\Event
18 class ResolveEvent
extends Event
{
21 * @param array $apiRequest
22 * The full description of the API request.
23 * @param \Civi\API\Kernel $apiKernel
24 * The kernel which fired the event.
26 public function __construct($apiRequest, $apiKernel) {
27 parent
::__construct(NULL, $apiRequest, $apiKernel);
31 * @param \Civi\API\Provider\ProviderInterface $apiProvider
32 * The API provider responsible for executing the request.
34 public function setApiProvider($apiProvider) {
35 $this->apiProvider
= $apiProvider;
39 * @param array $apiRequest
40 * The full description of the API request.
42 public function setApiRequest($apiRequest) {
43 $this->apiRequest
= $apiRequest;