PHP Class Devise\Languages\LanguagesResponseHandler

Mostra file Open project: devisephp/cms Class Usage Examples

Public Methods

Method Description
__construct ( Redirector $Redirect, LanguagesManager $Manager ) Construct new response handler
requestPatchLanguage ( integer $id, array $input ) : Redirect Patch a language's active flag

Method Details

__construct() public method

Construct new response handler
public __construct ( Redirector $Redirect, LanguagesManager $Manager )
$Redirect Illuminate\Routing\Redirector
$Manager LanguagesManager

requestPatchLanguage() public method

Patch a language's active flag
public requestPatchLanguage ( integer $id, array $input ) : Redirect
$id integer
$input array
return Redirect