PHP Class Owl\Services\ReminderService

Inheritance: extends Service
Mostra file Open project: owl/owl

Protected Properties

Property Type Description
$reminderTokenRepo
$userService

Public Methods

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

Method Details

__construct() public method

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

create() public method

public create ( $userId, $token )

delete() public method

public delete ( $tokenId )

getByToken() public method

public getByToken ( $token )

getByUserId() public method

public getByUserId ( $userId )

sendReminderMail() public method

public sendReminderMail ( $email, $token )

Property Details

$reminderTokenRepo protected_oe property

protected $reminderTokenRepo

$userService protected_oe property

protected $userService