mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-07 00:42:34 +00:00
init
This commit is contained in:
13
app/Traits/HasToast.php
Normal file
13
app/Traits/HasToast.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
use App\Helpers\Toast;
|
||||
|
||||
trait HasToast
|
||||
{
|
||||
public function toast(): Toast
|
||||
{
|
||||
return new Toast($this);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user