PHP Class app\http\controllers\SelfUpdateController

Inheritance: extends BaseController
Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$updater Codedge\Updater\UpdaterManager

Public Methods

Method Description
__construct ( Codedge\Updater\UpdaterManager $updater ) SelfUpdateController constructor.
download ( )
index ( ) : mixed Show default update page
update ( ) : Illuminate\Http\RedirectResponse Run the actual update

Method Details

__construct() public method

SelfUpdateController constructor.
public __construct ( Codedge\Updater\UpdaterManager $updater )
$updater Codedge\Updater\UpdaterManager

download() public method

public download ( )

index() public method

Show default update page
public index ( ) : mixed
return mixed

update() public method

Run the actual update
public update ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

Property Details

$updater protected property

protected UpdaterManager,Codedge\Updater $updater
return Codedge\Updater\UpdaterManager