Created
March 9, 2020 20:01
-
-
Save omarkdev/1d344a962a430c807cd923ea58e7d906 to your computer and use it in GitHub Desktop.
This file contains 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; | |
use App\Repositories\UserRepository; | |
class UserController extends Controller | |
{ | |
/** | |
* The user repository instance. | |
*/ | |
protected $users; | |
/** | |
* Create a new controller instance. | |
* | |
* @param UserRepository $users | |
* @return void | |
*/ | |
public function __construct(UserRepository $users) | |
{ | |
$this->users = $users; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment