PHP Class REBELinBLUE\Deployer\Http\Controllers\Resources\NotificationController

Inheritance: extends ResourceController
Mostrar archivo Open project: rebelinblue/deployer

Public Methods

Method Description
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\NotificationRepositoryInterface $repository ) NotificationController constructor.
store ( StoreNotificationRequest $request ) : Model Store a newly created notification in storage.
update ( $notification_id, StoreNotificationRequest $request ) : Model Update the specified notification in storage.

Method Details

__construct() public method

NotificationController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\NotificationRepositoryInterface $repository )
$repository REBELinBLUE\Deployer\Contracts\Repositories\NotificationRepositoryInterface

store() public method

Store a newly created notification in storage.
public store ( StoreNotificationRequest $request ) : Model
$request REBELinBLUE\Deployer\Http\Requests\StoreNotificationRequest
return Illuminate\Database\Eloquent\Model

update() public method

Update the specified notification in storage.
public update ( $notification_id, StoreNotificationRequest $request ) : Model
$notification_id
$request REBELinBLUE\Deployer\Http\Requests\StoreNotificationRequest
return Illuminate\Database\Eloquent\Model