iagoEffting/TwoFactorAPI

View on GitHub
src/Access.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace IagoEffting\TwoFactorAPI;

use Illuminate\Database\Eloquent\Model;

class Access extends Model
{

    protected $table = 'access_user';


    public function user()
    {
        $userModel = config('twofactor.user_model');

        return $this->belongsTo($userModel);

    }


}