<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
namespace Civi\API\Event;
*/
class ResolveEvent extends Event {
/**
- * @param $apiRequest
+ * @param array $apiRequest
+ * The full description of the API request.
+ * @param \Civi\API\Kernel $apiKernel
+ * The kernel which fired the event.
*/
- function __construct($apiRequest) {
- parent::__construct(NULL, $apiRequest);
+ public function __construct($apiRequest, $apiKernel) {
+ parent::__construct(NULL, $apiRequest, $apiKernel);
}
/**
* @param \Civi\API\Provider\ProviderInterface $apiProvider
+ * The API provider responsible for executing the request.
*/
public function setApiProvider($apiProvider) {
$this->apiProvider = $apiProvider;
/**
* @param array $apiRequest
+ * The full description of the API request.
*/
public function setApiRequest($apiRequest) {
$this->apiRequest = $apiRequest;
}
+
}