mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
improve plugin store
This commit is contained in:
14
app/Support/StaticMake.php
Normal file
14
app/Support/StaticMake.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Support;
|
||||
|
||||
/**
|
||||
* Trait StaticMake
|
||||
*/
|
||||
trait StaticMake
|
||||
{
|
||||
public static function make(): static
|
||||
{
|
||||
return app(static::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user