Avoid CiviCRM running full drupal cache flush, as this results in CiviCRM clobbering...
[civicrm-core.git] / Civi / API / Events.php
index dc480452164670e59d7d4465cb5e0e4a1f6da463..3cd4626c7428f7f7bdf68142f44b3eac384eff4c 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 namespace Civi\API;
 
 /**
@@ -34,12 +34,14 @@ namespace Civi\API;
  *
  * Event subscribers which are concerned about the order of execution should assign
  * a weight to their subscription (such as W_EARLY, W_MIDDLE, or W_LATE).
+ * W_LATE).
  */
 class Events {
 
   /**
    * Determine whether the API request is allowed for the current user.
-   * For successful execution, at least one listener must invoke $event->authorize().
+   * For successful execution, at least one listener must invoke
+   * $event->authorize().
    *
    * @see AuthorizeEvent
    */
@@ -47,7 +49,8 @@ class Events {
 
   /**
    * Determine which API provider executes the given request. For successful
-   * execution, at least one listener must invoke $event->setProvider($provider).
+   * execution, at least one listener must invoke
+   * $event->setProvider($provider).
    *
    * @see ResolveEvent
    */
@@ -68,7 +71,7 @@ class Events {
   const RESPOND = 'api.respond';
 
   /**
-   * Handle any exceptions
+   * Handle any exceptions.
    *
    * @see ExceptionEvent
    */
@@ -101,4 +104,5 @@ class Events {
       self::RESPOND,
     );
   }
+
 }