public function seed(array $roles)
    {
        Role::query()->insert(
            $this->prepareRoles($roles)
        );

        $this->syncAdminRole();
    }
public function seed(array $roles)
    {
        Role::query()->insert(
            $this->prepareRoles($roles)
        );

        $this->syncAdminRole();
    }
public function seed ( array $ roles ) { Role :: query ( ) -> insert ( $ this -> prepareRoles ( $ roles ) ) ; $ this -> syncAdminRole ( ) ; }
Seed roles.

@param  array  $roles
Seed roles .