だから私はこのアプリバインディングを持っていますroutes.php:
App::bind('HybridAuth', function()
{
return new Hybrid_Auth(Config::get('hybridauth'));
});
そして私のコントローラーのこのコンストラクター:
public function __construct(UserRepository $user, HybridAuth $oauth)
{
$this->user = $user;
$this->oauth = $oauth;
}
コントローラーでまだClass HybridAuth not foundエラーが発生するのはなぜですか? 先ほど行ったアプリ バインディングを使用しないでください。