App\Http\Controllers\GithubController::__construct PHP Method

__construct() public method

Initialize the Controller with necessary arguments
public __construct ( GrahamCampbell\GitHub\GitHubManager $github )
$github GrahamCampbell\GitHub\GitHubManager
    public function __construct(GitHubManager $github)
    {
        $this->github = $github;
    }