Learner\Repositories\Eloquent\AbstractRepository::getNew PHP Method

getNew() public method

Get a new instance of the model.
public getNew ( array $attributes = [] ) : Model
$attributes array
return Illuminate\Database\Eloquent\Model
    public function getNew(array $attributes = array())
    {
        return $this->model->newInstance($attributes);
    }