Skip to content

Commit edc73e5

Browse files
committed
feat: add base seeder method to models
1 parent ddaa7dd commit edc73e5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Model.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,13 @@ public function __construct(array $attributes = [])
1010
{
1111
parent::__construct($attributes);
1212
}
13+
14+
/**
15+
* Define the default seeder for the model
16+
* @return array
17+
*/
18+
public static function __seeder()
19+
{
20+
return [];
21+
}
1322
}

0 commit comments

Comments
 (0)