Property | Type | Description | |
---|---|---|---|
$em | |||
$subscriptionsConfig | array | Subscriptions config |
Method | Description | |
---|---|---|
__construct ( |
||
create ( ) | ||
getArticleRepository ( ) | ||
getIssueRepository ( ) | ||
getLanguageRepository ( ) | ||
getOneById ( $id ) | ||
getOneByUserAndPublication ( $userId, $publicationId ) | ||
getSectionRepository ( ) | ||
getSubscriptionsConfig ( ) | ||
remove ( $id ) | ||
removeById ( integer $id ) : void | Remove Subscription by Id | |
save ( |
||
update ( |
Update Subscription according to SubscritionData class |
Method | Description | |
---|---|---|
apply ( |
public getOneByUserAndPublication ( $userId, $publicationId ) |
public removeById ( integer $id ) : void | ||
$id | integer | - user subscription id |
return | void |
public save ( |
||
$subscription |
public update ( |
||
$subscription | ||
$data | ||
return |
protected array $subscriptionsConfig | ||
return | array |