Merge pull request #3571 from totten/master-casetype-maxinst
[civicrm-core.git] / CRM / Utils / Api.php
index b6da049ebbc5ff3cbd248a1344294a7accc47910..3c1b145684465b8c648748f10606b78640977a60 100644 (file)
  +--------------------------------------------------------------------+
 */
 
+/**
+ * Class CRM_Utils_Api
+ */
 class CRM_Utils_Api {
   /**
-   * Attempt to retrieve the api entity name from any calling class
-   * @param $classNameOrObject
+   * Attempts to retrieve the API entity name from any calling class.
+   *
+   * @param string|object $classNameOrObject
+   *
+   * @return string
    * @throws CRM_Core_Exception
    */
   static function getEntityName($classNameOrObject) {