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

Inheritance: extends ResourceController
Datei anzeigen Open project: rebelinblue/deployer

Public Methods

Method Description
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\NotifyEmailRepositoryInterface $repository ) NotifyEmailController constructor.
store ( StoreNotifyEmailRequest $request ) : Model Store a newly created NotifyEmail in storage.
update ( $email_id, StoreNotifyEmailRequest $request ) : Model Update the specified NotifyEmail in storage.

Method Details

__construct() public method

NotifyEmailController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\NotifyEmailRepositoryInterface $repository )
$repository REBELinBLUE\Deployer\Contracts\Repositories\NotifyEmailRepositoryInterface

store() public method

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

update() public method

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