PHP 클래스 REBELinBLUE\Deployer\Http\Controllers\Resources\NotificationController

상속: extends ResourceController
파일 보기 프로젝트 열기: rebelinblue/deployer

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

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

store() 공개 메소드

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

update() 공개 메소드

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