execute(); if ($builder->where($field, '=', $token)->doesntExist()) { return $token; } } throw new GenerateTokenCommandException(__('Failed to generate token.')); } }