can someone help me with this error?
Indirect modification of overloaded property App\Article::$atributes has no effect
Here's the code:
public function setPublishedAtAttribute($date){
$this->atributes['published_at'] = Carbon::createFromFormat('Y-m-d', $date);
}
I am trying to add clock to my published_at column...