프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$em | Doctrine\ORM\EntityManager | ||
$repository | Newscoop\Subscription\SubscriptionRepository |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
delete ( $id ) : void | Delete subscription | |
find ( integer $id ) : Newscoop\Subscription\Subscription | Find subscription by given id | |
findByUser ( |
Find subscriptions by user | |
save ( array $values, |
Save subscription |
public findByUser ( |
||
$user | ||
리턴 | array |