Skip to content

Follow Model

A follower relationship in fcom_followers (Pro), scoped to active rows.

Table

  • Table: fcom_followers

  • Primary key: id

  • Extends: Model

Attributes

ColumnTypeNullableDefaultDescription
follower_idintegerYesFollower ID stored for this record.
followed_idintegerYesFollowed ID stored for this record.
levelstringYesLevel stored for this record.

Relationships

MethodTypeTargetNotes
follower()belongsToXProfileSignature:
followed()belongsToXProfileSignature:

Scopes

ScopeParametersPurpose
No custom scopes are declared on this model.

Key Methods

MethodDescription
No additional public methods are documented for this model.

Usage Examples

php
use FluentCommunityPro\App\Models\Follow;

$records = Follow::query()
    
    ->limit(10)
    ->get();

$first = Follow::query()->first();

FluentCommunity developer documentation