code: public function setAttributes($value)
      {
          $this->_attributes = $value;
          if ($this->model) {
              $this->_model->attributes = $value;
          }
      }
docs: Set attributes.
  
  @param [[@doctodo param_type:value]] $value [[@doctodo param_description:value]]