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

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

Public Methods

Method Description
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\VariableRepositoryInterface $repository ) VariableController constructor.
store ( StoreVariableRequest $request ) : Model Store a newly created variable in storage.
update ( integer $variable_id, StoreVariableRequest $request ) : Model Update the specified variable in storage.

Method Details

__construct() public method

VariableController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\VariableRepositoryInterface $repository )
$repository REBELinBLUE\Deployer\Contracts\Repositories\VariableRepositoryInterface

store() public method

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

update() public method

Update the specified variable in storage.
public update ( integer $variable_id, StoreVariableRequest $request ) : Model
$variable_id integer
$request REBELinBLUE\Deployer\Http\Requests\StoreVariableRequest
return Illuminate\Database\Eloquent\Model