mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-31 21:47:04 +00:00
1.4 - Unit Testing Presentation Logic
This commit is contained in:
@@ -8,4 +8,9 @@ class Concert extends Model
|
||||
{
|
||||
protected $guarded = [];
|
||||
protected $dates = ['date'];
|
||||
|
||||
public function getFormattedDateAttribute()
|
||||
{
|
||||
return $this->date->format('F j, Y');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user