Skip to content

Instantly share code, notes, and snippets.

@Naoray
Created November 30, 2017 19:40
Show Gist options
  • Save Naoray/b541bc1e07263e1286473f714419a670 to your computer and use it in GitHub Desktop.
Save Naoray/b541bc1e07263e1286473f714419a670 to your computer and use it in GitHub Desktop.
<?php
class ContactInformationController extends Controller
{
//...
/**
* Update the user's contact information settings.
*
* @param Request $request
* @return Response
*/
public function update(Request $request)
{
$this->interaction(
$request, UpdateContactInformation::class,
[$request->user(), $request->all()]
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment