for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class CustomerContacts extends Model
{
protected $primaryKey = 'cont_id';
protected $fillable = ['cust_id', 'name', 'email', 'shared'];
protected $hidden = ['created_at', 'updated_at'];
public function CustomerContactPhones()
return $this->hasMany('App\CustomerContactPhones', 'cont_id');
}