APIv4 - Simplify entity name gathering
authorcolemanw <coleman@civicrm.org>
Fri, 25 Aug 2023 16:26:57 +0000 (12:26 -0400)
committercolemanw <coleman@civicrm.org>
Fri, 25 Aug 2023 23:51:59 +0000 (19:51 -0400)
commit88589ec249ee422d83f6557ffb04957f3b707a31
treec03fa14e26666338a8c283e8478d9d0385fb57db
parentffaf767fc2a2a33f80f4c4bda11cec6bc572a6f5
APIv4 - Simplify entity name gathering

Before: Getting entity names was hard and the conformanceTest struggled
After: It's easier, as every entity class has a public getEntityName method
Civi/Api4/Action/GetActions.php
Civi/Api4/Generic/AbstractEntity.php
Civi/Api4/Provider/ActionObjectProvider.php
ext/civi_case/Civi/Api4/CiviCase.php
tests/phpunit/api/v4/Entity/ConformanceTest.php