public static function buildTemplates($models)
    {
        $result = [];
        foreach($models as $model) {
            $result[] = self::buildTemplate($model);
        }

        return $result;
    }
public static function buildTemplates($models)
    {
        $result = [];
        foreach($models as $model) {
            $result[] = self::buildTemplate($model);
        }

        return $result;
    }
public static function buildTemplates ( $ models ) { $ result = [ ] ; foreach ( $ models as $ model ) { $ result [ ] = self :: buildTemplate ( $ model ) ; } return $ result ; }
Builder for array of Template from Active Record model

@param EmailTemplateTranslation[] $models
@return array
Builder for array of Template from Active Record model