APIv4 - Standardize generic entity name resolution so that classNames do not have...
authorColeman Watts <coleman@civicrm.org>
Wed, 24 Mar 2021 18:22:36 +0000 (14:22 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 24 Mar 2021 18:22:36 +0000 (14:22 -0400)
commit9f338c098614d0316a48629cae34986bd1a36e02
tree4bfe91013684ccacd8a4da835f9e32654aeabeb1
parent218f91ce99e5c6facda1aa4d4fb32cfde8ce3fad
APIv4 - Standardize generic entity name resolution so that classNames do not have to equal entityNames

This will allow the addition of a CiviCase API which cannot have the className "Case" because that is a reserved php keyword

Also cleans up other entities that use `static::class` in place of entityName because it's not a good pattern to replicate.
Civi/Api4/Generic/AbstractEntity.php
Civi/Api4/Generic/BasicEntity.php
Civi/Api4/Generic/DAOEntity.php
Civi/Api4/MailSettings.php
Civi/Api4/RelationshipCache.php
ang/api4Explorer/Explorer.js