This commit is contained in:
frederikpyt
2020-07-27 13:35:15 +02:00
17 changed files with 48 additions and 9 deletions
+2
View File
@@ -10,8 +10,10 @@ namespace App;
//allows the use of Model library
use Illuminate\Database\Eloquent\Model;
//Class of which should extend Model Library
class Contact extends Model
{
//protected variable which contains name of database field(s) to be filled.
protected $fillable = [
'contactname', "title", 'email', 'phone'
];