/** * Creates a new instance of the model. * * @param array $attributes */ public function __construct(array $attributes = []) { parent::__construct($attributes); $this->table = Config::get('entrust.roles_table'); }
public function __construct(array $attributes = []) { parent::__construct($attributes); $this->fileModel = new AttachmentFile(); $this->_config = config('attachment'); }