Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Update plan-subscription-feature-model.md #76

Merged
merged 1 commit into from
Jun 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/v4.x/models/plan-subscription-feature-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ $user->subscription('main')->features()->withoutPlan()->get();

See also [subscription feature usage](models/plan-subscription-model.html#subscription-feature-usage).

Plan subscription feature usage can also be retrieved via `usage()` relationship:
Plan subscription feature usage object can be retrieved via `usage()` relationship:

```php
$user->subscription('main')->getFeatureUsage('social_profiles')->usage;
$user->subscription('main')->getFeatureByTag('social_profiles')->usage;
```
To get all the subscription features along with their usage:
```php
Expand Down