Components\ThemeManager\Controllers\Backend\ThemeManagerController::store PHP Method

store() public method

Store a newly created theme in storage.
public store ( ) : Response
return Response
    public function store()
    {
        $input = Input::all();
        if (!isset($input['file'])) {
            return Redirect::back()->with('error_message', trans('error_messages.theme_file_select'));
        }
        $theme_installer = new ThemeInstaller($this, $input);
        return $theme_installer->installTheme();
    }