Created
October 8, 2017 03:17
-
-
Save ojhaujjwal/7de7d9d8e0457aa4bee5e517c77fbc11 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\User; | |
use App\Http\Controllers\Controller; | |
class MyController extends Controller | |
{ | |
protected $myService; | |
public function __construct(\My\Service $myService) | |
{ | |
$this->myService = $myService; | |
} | |
// .. methods here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment