PHP Class App\Http\Controllers\AccountApiController

Inheritance: extends BaseAPIController
显示文件 Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$accountRepo

Public Methods

Method Description
__construct ( AccountRepository $accountRepo )
addDeviceToken ( Illuminate\Http\Request $request )
getStaticData ( )
getUserAccounts ( Illuminate\Http\Request $request )
login ( Illuminate\Http\Request $request )
oauthLogin ( Illuminate\Http\Request $request )
ping ( )
register ( RegisterRequest $request )
show ( Illuminate\Http\Request $request )
update ( UpdateAccountRequest $request )
updatePushNotifications ( Illuminate\Http\Request $request )

Private Methods

Method Description
processLogin ( Illuminate\Http\Request $request )

Method Details

__construct() public method

public __construct ( AccountRepository $accountRepo )
$accountRepo App\Ninja\Repositories\AccountRepository

addDeviceToken() public method

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

getStaticData() public method

public getStaticData ( )

getUserAccounts() public method

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

login() public method

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

oauthLogin() public method

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

ping() public method

public ping ( )

register() public method

public register ( RegisterRequest $request )
$request App\Http\Requests\RegisterRequest

show() public method

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

update() public method

public update ( UpdateAccountRequest $request )
$request App\Http\Requests\UpdateAccountRequest

updatePushNotifications() public method

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

Property Details

$accountRepo protected_oe property

protected $accountRepo