PHP Trait Mmanos\Social\SocialTrait

Show file Open project: mmanos/laravel-social

Public Methods

Method Description
hasProvider ( string $name ) Return true if this user has connected to the requested social provider.
provider ( string $name ) Return the reqeusted social provider associated with this user.
providers ( ) Return the social providers associated with this user.

Method Details

hasProvider() public method

False, otherwise.
public hasProvider ( string $name )
$name string

provider() public method

Return the reqeusted social provider associated with this user.
public provider ( string $name )
$name string

providers() public method

Return the social providers associated with this user.
public providers ( )