<?php
/**
 * Helper Class
 *
 * @version     1.0.$Revision:$
 * @version     SVN: $Id:$
 * @package     bplan-base/globals
 * @subpackage  Helpers
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 * @copyright   Copyright (C) 2025, 2026 bplan-solutions GmbH & Co. KG <https://www.bplan-solutions.de/>
 * /Δ\
 */

namespace BplanBase\Globals\Helpers;


use BplanBase\Globals\Enums\LanguageContext;
use BplanBase\Globals\Support\Collection as SupportCollection;
use Illuminate\Database\Eloquent\Collection as EloquentCollection;


/**
 * Helper Class
 *
 * @deprecated  Use BplanBase\Globals\Support\Collection instead
 *
 * @version     1.0.0 / 2026-04-13
 * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
 */
class Collection
{


/* +++ TRAITS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS CONSTANTS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT MEMBERS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS MEMBERS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ OBJECT METHODS +++ +++++++++++++++++++++++++++++++++++++++++++++++++++ */


/* +++ CLASS METHODS +++ ++++++++++++++++++++++++++++++++++++++++++++++++++++ */


    /**
     * Ergänzt fehlende Labels in den Models der übergebenen Collection
     *
     * @deprecated  Use BplanBase\Globals\Support\Collection\completeLabels() instead
     *
     * @param       EloquentCollection $Collection
     *
     * @param       LanguageContext $LanguageContext
     *
     * @return      EloquentCollection
     *
     * @version     1.0.0 / 2026-04-13
     * @author      Wassilios Meletiadis <wassilios.meletiadis@bplan-solutions.de>
     */
    public static function completeLabels(EloquentCollection $Collection, LanguageContext $LanguageContext = LanguageContext::Both): EloquentCollection
    {
        return SupportCollection::completeLabels($Collection, $LanguageContext);

    } // completeLabels()


} // class Collection {}
