public function __construct(array $attributes = []) { parent::__construct($attributes); $default = Setting::privateOnly()->pluck('value', 'key')->toArray(); $attributes = array_replace($default, $attributes); $this->fill($attributes); }
public function __construct(array $attributes = []) { parent::__construct($attributes); $this->forms = array_merge($this->postableforms, $this->forms); }