for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
/**
* Class User
* @package App
*/
class User extends Authenticatable
{
* The attributes that are mass assignable.
*
* @var array
protected $fillable = [
'name', 'email', 'password',
];
* The attributes that should be hidden for arrays.
protected $hidden = [
'password', 'remember_token',
* @return \Illuminate\Database\Eloquent\Relations\HasMany
public function getCalculations()
return $this->hasMany(SimulatorHistory::class);
}