public static function buildMultiply($entities)
    {
        $templates = [];

        foreach ($entities as $entity) {
            $templates[$entity->language] = static::buildFromEntity($entity);
        }

        return $templates;
    }
public static function buildMultiply($entities)
    {
        $templates = [];

        foreach ($entities as $entity) {
            $templates[$entity->language] = static::buildFromEntity($entity);
        }

        return $templates;
    }
public static function buildMultiply ( $ entities ) { $ templates = [ ] ; foreach ( $ entities as $ entity ) { $ templates [ $ entity -> language ] = static :: buildFromEntity ( $ entity ) ; } return $ templates ; }
Build email templates array from entities.

@param \ymaker\email\templates\entities\EmailTemplateTranslation[] $entities

@return EmailTemplate[]
Build email templates array from entities .