for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Gewaer\Notifications\Mobile;
use Namshi\Notificator\Notification;
use Gewaer\Contracts\PushNotifications as PushNotificationsContract;
use Gewaer\Models\Notifications;
use Gewaer\Notifications\Mobile\Mobile;
use Gewaer\Traits\NotificationsTrait;
class System extends Mobile implements PushNotificationsContract
{
/**
* Notifications Trait
*/
use NotificationsTrait;
* Assemble an Apps Push Notification
* @todo Create specific assembler for apps push notifications
public function assemble()
* Create a new database record
self::create((array)$this->user, $this->content, Notifications::SYSTEM, $this->systemModule);
return $this->content . " From System";
}