1 | <?php namespace Anomaly\UsersModule\User; |
||
15 | class UserSeeder extends Seeder |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * The user repository. |
||
20 | * |
||
21 | * @var UserRepositoryInterface |
||
22 | */ |
||
23 | protected $users; |
||
24 | |||
25 | /** |
||
26 | * The role repository. |
||
27 | * |
||
28 | * @var RoleRepositoryInterface |
||
29 | */ |
||
30 | protected $roles; |
||
31 | |||
32 | /** |
||
33 | * The activator utility. |
||
34 | * |
||
35 | * @var UserActivator |
||
36 | */ |
||
37 | protected $activator; |
||
38 | |||
39 | /** |
||
40 | * Create a new UserSeeder instance. |
||
41 | * |
||
42 | * @param UserRepositoryInterface $users |
||
43 | * @param RoleRepositoryInterface $roles |
||
44 | * @param UserActivator $activator |
||
45 | */ |
||
46 | public function __construct( |
||
55 | |||
56 | /** |
||
57 | * Run the seeder. |
||
58 | */ |
||
59 | public function run() |
||
92 | } |
||
93 |