private function seedAdminUser()
    {
        tap(new User($this->getAdminUserAttributes()), function (User $admin) {
            $admin->save();

            /** @var  \Arcanesoft\Auth\Models\Role  $adminRole */
            $adminRole = Role::admin()->first();
            $adminRole->attachUser($admin);
        });
    }
private function seedAdminUser()
    {
        tap(new User($this->getAdminUserAttributes()), function (User $admin) {
            $admin->save();

            /** @var  \Arcanesoft\Auth\Models\Role  $adminRole */
            $adminRole = Role::admin()->first();
            $adminRole->attachUser($admin);
        });
    }
private function seedAdminUser ( ) { tap ( new User ( $ this -> getAdminUserAttributes ( ) ) , function ( User $ admin ) { $ admin -> save ( ) ; /** @var  \Arcanesoft\Auth\Models\Role  $adminRole */ $ adminRole = Role :: admin ( ) -> first ( ) ; $ adminRole -> attachUser ( $ admin ) ; } ) ; }
Seed the admin account.
Seed the admin account .