PHP Class Owl\Services\ReminderService

Inheritance: extends Service
Afficher le fichier Open project: owl/owl

Protected Properties

Свойство Type Description
$reminderTokenRepo
$userService

Méthodes publiques

Méthode Description
__construct ( Owl\Repositories\ReminderTokenRepositoryInterface $reminderTokenRepo )
create ( $userId, $token )
delete ( $tokenId )
getByToken ( $token )
getByUserId ( $userId )
sendReminderMail ( $email, $token )

Method Details

__construct() public méthode

public __construct ( Owl\Repositories\ReminderTokenRepositoryInterface $reminderTokenRepo )
$reminderTokenRepo Owl\Repositories\ReminderTokenRepositoryInterface

create() public méthode

public create ( $userId, $token )

delete() public méthode

public delete ( $tokenId )

getByToken() public méthode

public getByToken ( $token )

getByUserId() public méthode

public getByUserId ( $userId )

sendReminderMail() public méthode

public sendReminderMail ( $email, $token )

Property Details

$reminderTokenRepo protected_oe property

protected $reminderTokenRepo

$userService protected_oe property

protected $userService