Adldap\Laravel\Traits\ImportsUsers::bindAdldapToModel PHP Method

bindAdldapToModel() protected method

Binds the Adldap User instance to the Eloquent model instance by setting its adldapUser public property.
protected bindAdldapToModel ( User $user, Model $model ) : Model
$user Adldap\Models\User
$model Illuminate\Database\Eloquent\Model
return Illuminate\Database\Eloquent\Model
    protected function bindAdldapToModel(User $user, Model $model)
    {
        $model->adldapUser = $user;
        return $model;
    }