Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Письменов Дмитрий Иванович / yourroomads

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • yourroomads
  • app
  • Service
  • DirectResponseHelper.php
  • Vladislav's avatar
    #21624 Наборы ссылок, связать с рк, обновление · e83798dc
    Vladislav committed Dec 08, 2021
    e83798dc Browse Files
DirectResponseHelper.php 301 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php

namespace App\Service;

class DirectResponseHelper
{

    static function getExternalIdsChunkByResult($data)
    {
        return array_chunk(array_column(array_filter($data, function ($result) {
            return isset($result['Id']);
        }, ARRAY_FILTER_USE_BOTH), 'Id'), 100);
    }

}