Laravel: how to set a date attribute in a mutator of a different attribute?

后端 未结 0 1737
长情又很酷
长情又很酷 2020-11-28 00:16

This dont\' works

public function setDeliverySlotSelectedAttribute($value)
{
    $this->attributes[\'delivery_slot_selected\'] = $value;
    if ($value) {
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题