SocialiteFake
class SocialiteFake implements Factory
Properties
| protected FakeProvider> | $providers | The fake provider instances. |
Methods
Details
at line 26
__construct(Factory $factory)
Create a new Socialite fake instance.
at line 34
mixed
driver(UnitEnum|string|null $driver = null)
Get a provider implementation.
at line 46
SocialiteFake
fake(string $driver, User|Closure|null $user = null)
Register a fake user for the given driver.