app/Containers/Authorization/Data/Seeders/AuthorizationRolesSeeder_2.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        Apiato::call('Authorization@CreateRoleTask', ['admin', 'Administrator', 'Administrator Role', 999]);
        Apiato::call('Authorization@CreateRoleTask', ['manager', 'Manager', 'Manager Role', 10]);
        Apiato::call('Authorization@CreateRoleTask', ['farmer', 'Farmer', 'Farmer Role']);
    }
public function run ( ) { Apiato :: call ( 'Authorization@CreateRoleTask' , [ 'admin' , 'Administrator' , 'Administrator Role' , 999 ] ) ; Apiato :: call ( 'Authorization@CreateRoleTask' , [ 'manager' , 'Manager' , 'Manager Role' , 10 ] ) ; Apiato :: call ( 'Authorization@CreateRoleTask' , [ 'farmer' , 'Farmer' , 'Farmer Role' ] ) ; }
Run the database seeds.
Run the database seeds .
// Default Roles ----------------------------------------------------------------