<?php public function getUserId(string $id): ?string
{
return array_flip($this->getIds())[$id] ?? null;
}
public function findOrCreateUser($socialite): StatamicUser
<?php public function tearDown(): void
{
$uses = array_flip(class_uses_recursive(static::class));
if (isset($uses[PreventSavingStacheItemsToDisk::class])) {
$this->deleteFakeStacheDirectory();