PHP Class App\Http\Controllers\SetupController

Inheritance: extends Controller
Show file Open project: printempw/blessing-skin-server Class Usage Examples

Public Methods

Method Description
checkTablesExist ( array $tables = ['users', 'closets', 'players', 'textures', 'options'] ) : boolean Check if the given tables exist in current database.
checkTextureDirectory ( )
doUpdate ( )
finish ( Illuminate\Http\Request $request )
info ( )
update ( )
welcome ( )

Protected Methods

Method Description
createDirectories ( )
formatValidationErrors ( Illuminate\Validation\Validator $validator )

Method Details

checkTablesExist() public static method

Check if the given tables exist in current database.
public static checkTablesExist ( array $tables = ['users', 'closets', 'players', 'textures', 'options'] ) : boolean
$tables array [description]
return boolean

checkTextureDirectory() public static method

public static checkTextureDirectory ( )

createDirectories() protected method

protected createDirectories ( )

doUpdate() public method

public doUpdate ( )

finish() public method

public finish ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

formatValidationErrors() protected method

protected formatValidationErrors ( Illuminate\Validation\Validator $validator )
$validator Illuminate\Validation\Validator

info() public method

public info ( )

update() public method

public update ( )

welcome() public method

public welcome ( )