classes/collection/ElementCollection.php
public static function make($arElementIDList = [])
    {
        /** @var ElementCollection $obCollection */
        $obCollection = app()->make(static::class);

        if (!empty($arElementIDList) && is_array($arElementIDList)) {
            $obCollection->arElementIDList = $arElementIDList;
        }

        return $obCollection->returnThis();
    }
public static function make($arElementIDList = [])
    {
        /** @var ElementCollection $obCollection */
        $obCollection = app()->make(static::class);

        if (!empty($arElementIDList) && is_array($arElementIDList)) {
            $obCollection->arElementIDList = $arElementIDList;
        }

        return $obCollection->returnThis();
    }
public static function make ( $ arElementIDList = [ ] ) { /** @var ElementCollection $obCollection */ $ obCollection = app ( ) -> make ( static :: class ) ; if ( ! empty ( $ arElementIDList ) && is_array ( $ arElementIDList ) ) { $ obCollection -> arElementIDList = $ arElementIDList ; } return $ obCollection -> returnThis ( ) ; }
Make new list store
@see  \Lovata\Toolbox\Tests\Unit\CollectionTest::testMakeMethod()
@link https://github.com/lovata/oc-toolbox-plugin/wiki/ElementCollection#makearelementidlist--
@param array $arElementIDList - element ID list
@return $this
Make new list store