Skip to content

Instantly share code, notes, and snippets.

@abishekrsrikaanth
Created July 29, 2021 03:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abishekrsrikaanth/bbbed0b5d4f6086cff66875e3ff030d4 to your computer and use it in GitHub Desktop.
Save abishekrsrikaanth/bbbed0b5d4f6086cff66875e3ff030d4 to your computer and use it in GitHub Desktop.
<?php
namespace App\Models;
class User extends Authenticatable implements MustVerifyEmail
{
public function plan(): BelongsTo
{
return $this->hasOne(StripePlanUser::class);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment