for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sco\Admin\Models;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Zizaco\Entrust\Traits\EntrustUserTrait;
class Manager extends Authenticatable
{
use EntrustUserTrait;
protected $visible = ['id', 'name', 'email', 'created_at', 'roles'];
protected $guarded = ['created_at', 'updated_at'];
public function setPasswordAttribute($value)
$this->attributes['password'] = bcrypt($value);
}