Created
May 25, 2018 03:01
-
-
Save kamerk22/c1e661132c0b12dce6524ea71e90941a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Http\Controllers\API\v1\Users; | |
use App\Http\Controllers\Controller; | |
use App\Http\Requests\UserStoreRequest; | |
class UserController extends Controller | |
{ | |
public function store(UserStoreRequest $request) | |
{ | |
// Will return only validated data | |
$validated = $request->validated(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment