PHP Class App\services\PushService

Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Свойство Type Description
$pushFactory App\Ninja\Notifications\PushFactory

Méthodes publiques

Méthode Description
__construct ( PushFactory $pushFactory )
sendNotification ( Invoice $invoice, $type )

Private Methods

Méthode Description
checkDeviceExists ( App\Models\Account $account ) : boolean checkDeviceExists function
entitySentMessage ( Invoice $invoice ) : string
entityViewedMessage ( Invoice $invoice ) : string
invoicePaidMessage ( Invoice $invoice ) : string
messageType ( Invoice $invoice, $type ) : string messageType function
pushMessage ( Invoice $invoice, $token, $type ) pushMessage function
quoteApprovedMessage ( Invoice $invoice ) : string

Method Details

__construct() public méthode

public __construct ( PushFactory $pushFactory )
$pushFactory App\Ninja\Notifications\PushFactory

sendNotification() public méthode

public sendNotification ( Invoice $invoice, $type )
$invoice app\models\Invoice
$type

Property Details

$pushFactory protected_oe property

protected PushFactory,App\Ninja\Notifications $pushFactory
Résultat App\Ninja\Notifications\PushFactory