public function make(array $attributes = [])
    {
        $model = $this->model->newInstance($attributes);
        $this->publish('made', $model);

        return $model;
    }
public function make(array $attributes = [])
    {
        $model = $this->model->newInstance($attributes);
        $this->publish('made', $model);

        return $model;
    }
public function make ( array $ attributes = [ ] ) { $ model = $ this -> model -> newInstance ( $ attributes ) ; $ this -> publish ( 'made' , $ model ) ; return $ model ; }
Instantiate a new model and fill it with the attributes.

@param array $attributes

@return \Ems\Contracts\Core\Identifiable The instantiated resource
Instantiate a new model and fill it with the attributes .