battle with structure

This commit is contained in:
2024-10-22 13:30:03 +05:00
parent 5ffb0f2926
commit 96a5430cac
30 changed files with 1038 additions and 6 deletions

17
app/Modules/Makeable.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
namespace App\Modules;
trait Makeable
{
/**
* Create a new element.
*
* @param mixed ...$arguments
* @return static
*/
public static function make(...$arguments)
{
return new static(...$arguments);
}
}