Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
TeamInvite
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace App\Http\Models\Teams;
4
5use MongoDB\Laravel\Eloquent\Model;
6use Illuminate\Support\Facades\Config;
7use Mpociot\Teamwork\Traits\TeamworkTeamInviteTrait;
8
9class TeamInvite extends Model
10{
11    use TeamworkTeamInviteTrait;
12
13    /**
14     * The database table used by the model.
15     *
16     * @var string
17     */
18    protected $table;
19
20    /**
21     * Creates a new instance of the model.
22     *
23     * @param array $attributes
24     */
25    public function __construct(array $attributes = [])
26    {
27        parent::__construct($attributes);
28        $this->table = Config::get('teamwork.team_invites_table');
29    }
30}