+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | 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\Provider;
+
use Civi\API\Events;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
interface ProviderInterface {
/**
* @param array $apiRequest
- * @return array structured response data (per civicrm_api3_create_success)
+ * The full description of the API request.
+ * @return array
+ * structured response data (per civicrm_api3_create_success)
* @see civicrm_api3_create_success
* @throws \API_Exception
*/
- function invoke($apiRequest);
+ public function invoke($apiRequest);
/**
* @param int $version
+ * API version.
* @return array<string>
*/
- function getEntityNames($version);
+ public function getEntityNames($version);
/**
* @param int $version
+ * API version.
* @param string $entity
+ * API entity.
* @return array<string>
*/
- function getActionNames($version, $entity);
-}
\ No newline at end of file
+ public function getActionNames($version, $entity);
+
+}