Свойство | Тип | Описание | |
---|---|---|---|
$em | |||
$subscriptionsConfig | array | Subscriptions config |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
apply ( |
public __construct ( |
||
$em |
public getOneByUserAndPublication ( $userId, $publicationId ) |
public removeById ( integer $id ) : void | ||
$id | integer | - user subscription id |
Результат | void |
public save ( |
||
$subscription |
public update ( |
||
$subscription | ||
$data | ||
Результат |
protected EntityManager,Doctrine\ORM $em | ||
Результат |
protected array $subscriptionsConfig | ||
Результат | array |