api code global jain
This commit is contained in:
18
app/Models/Traits/Message/Attributes/MessageAttributes.php
Normal file
18
app/Models/Traits/Message/Attributes/MessageAttributes.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Traits\Message\Attributes;
|
||||
|
||||
use App\Traits\ActionButtons;
|
||||
|
||||
trait MessageAttributes
|
||||
{
|
||||
use ActionButtons;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getStatusActionAttribute(): string
|
||||
{
|
||||
return $this->statusLabel($this->status);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user