Domain/DomainUtil.php
public static function extractIdentifierInObjectList(array $identifiers, array &$objects)
    {
        $searchIds = [];

        foreach ($identifiers as $identifier) {
            if (\is_object($identifier)) {
                $objects[] = $identifier;

                continue;
            }
            $searchIds[] = $identifier;
        }

        return $searchIds;
    }
public static function extractIdentifierInObjectList(array $identifiers, array &$objects)
    {
        $searchIds = [];

        foreach ($identifiers as $identifier) {
            if (\is_object($identifier)) {
                $objects[] = $identifier;

                continue;
            }
            $searchIds[] = $identifier;
        }

        return $searchIds;
    }
public static function extractIdentifierInObjectList ( array $ identifiers , array & $ objects ) { $ searchIds = [ ] ; foreach ( $ identifiers as $ identifier ) { if ( \ is_object ( $ identifier ) ) { $ objects [ ] = $ identifier ; continue ; } $ searchIds [ ] = $ identifier ; } return $ searchIds ; }
Extract the identifier that are not a object.

@param array $identifiers The list containing identifier or object
@param array $objects     The real objects (by reference)

@return array The identifiers that are not a object
Extract the identifier that are not a object .