battle with structure
This commit is contained in:
17
app/Modules/Makeable.php
Normal file
17
app/Modules/Makeable.php
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user