public function getCurrentRealmsAffections(): array
    {
        $realmsAffections = [];
        foreach ($this->getRealmsAffectionsSum() as $periodName => $periodSum) {
            $realmsAffections[$periodName] = new RealmsAffection([$periodSum, $periodName]);
        }

        return $realmsAffections;
    }
public function getCurrentRealmsAffections(): array
    {
        $realmsAffections = [];
        foreach ($this->getRealmsAffectionsSum() as $periodName => $periodSum) {
            $realmsAffections[$periodName] = new RealmsAffection([$periodSum, $periodName]);
        }

        return $realmsAffections;
    }
public function getCurrentRealmsAffections ( ) : array { $ realmsAffections = [ ] ; foreach ( $ this -> getRealmsAffectionsSum ( ) as $ periodName => $ periodSum ) { $ realmsAffections [ $ periodName ] = new RealmsAffection ( [ $ periodSum , $ periodName ] ) ; } return $ realmsAffections ; }
Daily, monthly and lifetime affections of realms

@return array|RealmsAffection[]
Daily monthly and lifetime affections of realms