| 1 | <?php |
||
| 15 | class WordPoints_BP_Entity_Message_Recipients |
||
|
|
|||
| 16 | extends WordPoints_Entity_Relationship |
||
| 17 | implements WordPoints_Entityish_StoredI { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @since 1.0.0 |
||
| 21 | */ |
||
| 22 | protected $primary_entity_slug = 'bp_message'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @since 1.0.0 |
||
| 26 | */ |
||
| 27 | protected $related_entity_slug = 'user{}'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @since 1.0.0 |
||
| 31 | */ |
||
| 32 | public function get_title() { |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @since 1.0.0 |
||
| 38 | */ |
||
| 39 | protected function get_related_entity_ids( WordPoints_Entity $entity ) { |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @since 1.0.0 |
||
| 52 | */ |
||
| 53 | public function get_storage_info() { |
||
| 65 | } |
||
| 66 | |||
| 68 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.