| 1 | <?php namespace Arcanesoft\Auth\Seeds; |
||
| 14 | abstract class RolesSeeder extends Seeder |
||
| 15 | { |
||
| 16 | /* ------------------------------------------------------------------------------------------------ |
||
| 17 | | Main Functions |
||
| 18 | | ------------------------------------------------------------------------------------------------ |
||
| 19 | */ |
||
| 20 | /** |
||
| 21 | * Seed roles. |
||
| 22 | * |
||
| 23 | * @param array $roles |
||
| 24 | */ |
||
| 25 | public function seed(array $roles) |
||
| 33 | |||
| 34 | /* ------------------------------------------------------------------------------------------------ |
||
| 35 | | Other Functions |
||
| 36 | | ------------------------------------------------------------------------------------------------ |
||
| 37 | */ |
||
| 38 | /** |
||
| 39 | * Prepare roles to seed. |
||
| 40 | * |
||
| 41 | * @param array $roles |
||
| 42 | * |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | protected function prepareRoles(array $roles) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Sync the admin role with all permissions. |
||
| 62 | */ |
||
| 63 | protected function syncAdminRole() |
||
| 71 | } |
||
| 72 |
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.