Use trait instead of class for Entity Bridges; add OptionList trait
[civicrm-core.git] / Civi / Api4 / Generic / Traits / EntityBridge.php
similarity index 80%
rename from Civi/Api4/Generic/BridgeEntity.php
rename to Civi/Api4/Generic/Traits/EntityBridge.php
index 32faea1aa588a668f48ececec085810487442fec..1123021dba96d755011cadbcc313445a4976d5ba 100644 (file)
@@ -9,13 +9,13 @@
  +--------------------------------------------------------------------+
  */
 
-namespace Civi\Api4\Generic;
+namespace Civi\Api4\Generic\Traits;
 
 /**
  * A bridge is a small table that provides an intermediary link between two other tables.
  *
- * The API can automatically incorporate a bridgeEntity into a join expression.
+ * The API can automatically incorporate a Bridge into a join expression.
  */
-class BridgeEntity extends DAOEntity {
+trait EntityBridge {
 
 }