+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
* for a component to introduce itself to the system.
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2019
*/
abstract class CRM_Core_Component_Info {
const COMPONENT_MENU_XML = 'Menu';
/**
- * Stores component information.
- * @var array component settings as key/value pairs
+ * Component settings as key/value pairs.
+ *
+ * @var array
*/
public $info;
/**
- * Stores component keyword.
- * @var string name of component keyword
+ * Component keyword.
+ *
+ * @var string
*/
protected $keyword;
* @see CRM_Utils_Hook::angularModules
*/
public function getAngularModules() {
- return array();
+ return [];
}
/**
* @see CRM_Utils_Hook::managedEntities
*/
public function getManagedEntities() {
- return array();
+ return [];
}
/**
* @see CRM_Component_Info::getPermissions
*/
public function getAnonymousPermissionWarnings() {
- return array();
+ return [];
}
/**
* - count: int, eg "5" if there are 5 email addresses that refer to $dao
*/
public function getReferenceCounts($dao) {
- return array();
+ return [];
}
/**