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

Inheritance: extends ResourceController
显示文件 Open project: rebelinblue/deployer

Public Methods

Method Description
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\SharedFileRepositoryInterface $repository ) SharedFilesController constructor.
store ( StoreSharedFileRequest $request ) : Model Store a newly created file in storage.
update ( integer $file_id, StoreSharedFileRequest $request ) : Model Update the specified file in storage.

Method Details

__construct() public method

SharedFilesController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\SharedFileRepositoryInterface $repository )
$repository REBELinBLUE\Deployer\Contracts\Repositories\SharedFileRepositoryInterface

store() public method

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

update() public method

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