for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MadWeb\SocialAuth\Events;
use Laravel\Socialite\Contracts\User as SocialUser;
use MadWeb\SocialAuth\Contracts\SocialAuthenticatable as Authenticatable;
class SocialUserAttached extends SocialEvent
{
/**
* @var Authenticatable
*/
public $user;
* @var object
public $social;
* @var SocialUser
public $socialUser;
* SocialUserAuthenticated constructor.
* @param Authenticatable $user
* @param $social
* @param SocialUser $socialUser
public function __construct(Authenticatable $user, $social, SocialUser $socialUser)
$this->user = $user;
$this->social = $social;
$this->socialUser = $socialUser;
}