publishing stubs

This commit is contained in:
Geriano
2022-08-10 04:43:16 +07:00
parent 45c5c56cff
commit 02bfa6aa5b
39 changed files with 1460 additions and 0 deletions

23
stubs/factory.stub Normal file
View File

@@ -0,0 +1,23 @@
<?php
namespace {{ factoryNamespace }};
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\{{ namespacedModel }}>
*/
class {{ factory }}Factory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition()
{
return [
//
];
}
}