diff options
Diffstat (limited to 'main/app/sprinkles/account/factories/Roles.php')
-rwxr-xr-x | main/app/sprinkles/account/factories/Roles.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/main/app/sprinkles/account/factories/Roles.php b/main/app/sprinkles/account/factories/Roles.php new file mode 100755 index 0000000..cdbb5a3 --- /dev/null +++ b/main/app/sprinkles/account/factories/Roles.php @@ -0,0 +1,18 @@ +<?php +/** + * UserFrosting (http://www.userfrosting.com) + * + * @link https://github.com/userfrosting/UserFrosting + * @license https://github.com/userfrosting/UserFrosting/blob/master/licenses/UserFrosting.md (MIT License) + */ + +use League\FactoryMuffin\Faker\Facade as Faker; + +/** + * General factory for the Role Model + */ +$fm->define('UserFrosting\Sprinkle\Account\Database\Models\Role')->setDefinitions([ + 'slug' => Faker::unique()->word(), + 'name' => Faker::word(), + 'description' => Faker::paragraph() +]); |