private function setAttributes($modelSlug, $type)
    {
        $this->module = getModule(get_class($this));
        $this->modelSlug = is_null($modelSlug) ? getModelSlug($this) : $modelSlug;
        $this->options = config("{$this->module}.{$this->modelSlug}.uploads.{$type}");
        $this->column = $this->options['column'];
    }
private function setAttributes($modelSlug, $type)
    {
        $this->module = getModule(get_class($this));
        $this->modelSlug = is_null($modelSlug) ? getModelSlug($this) : $modelSlug;
        $this->options = config("{$this->module}.{$this->modelSlug}.uploads.{$type}");
        $this->column = $this->options['column'];
    }
private function setAttributes ( $ modelSlug , $ type ) { $ this -> module = getModule ( get_class ( $ this ) ) ; $ this -> modelSlug = is_null ( $ modelSlug ) ? getModelSlug ( $ this ) : $ modelSlug ; $ this -> options = config ( "{$this->module}.{$this->modelSlug}.uploads.{$type}" ) ; $ this -> column = $ this -> options [ 'column' ] ; }
set the model specific attribute

@param string $modelSlug
@param string $type
set the model specific attribute