1 | <?php namespace Arcanesoft\Auth\Seeds; |
||
14 | abstract class RolesSeeder extends Seeder |
||
15 | { |
||
16 | /* ----------------------------------------------------------------- |
||
17 | | Main Methods |
||
18 | | ----------------------------------------------------------------- |
||
19 | */ |
||
20 | |||
21 | /** |
||
22 | * Seed roles. |
||
23 | * |
||
24 | * @param array $roles |
||
25 | */ |
||
26 | public function seed(array $roles) |
||
34 | |||
35 | /* ----------------------------------------------------------------- |
||
36 | | Other Methods |
||
37 | | ----------------------------------------------------------------- |
||
38 | */ |
||
39 | |||
40 | /** |
||
41 | * Prepare roles to seed. |
||
42 | * |
||
43 | * @param array $roles |
||
44 | * |
||
45 | * @return array |
||
46 | */ |
||
47 | protected function prepareRoles(array $roles) |
||
61 | |||
62 | /** |
||
63 | * Sync the admin role with all permissions. |
||
64 | */ |
||
65 | protected function syncAdminRole() |
||
73 | |||
74 | /** |
||
75 | * Slugify the value. |
||
76 | * |
||
77 | * @param string $value |
||
78 | * |
||
79 | * @return string |
||
80 | */ |
||
81 | protected function slugify($value) |
||
85 | |||
86 | /** |
||
87 | * Sync the roles. |
||
88 | * |
||
89 | * @param array $roles |
||
90 | */ |
||
91 | protected function syncRoles(array $roles) |
||
108 | } |
||
109 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.