public function collectForUser($query, $users, $options = [])
  {
    $bigFeed = [];

    foreach ($users as $userId) {
      $userOptions = array_merge($options, ['user' => $userId]);
      $userFeed = $this->getFeed($query, $userOptions);
      $bigFeed = array_merge($bigFeed, $userFeed);
    }

    $bigFeed = $this->filterDuplicates($bigFeed);

    return $this->mapByHash($bigFeed);
  }
public function collectForUser($query, $users, $options = [])
  {
    $bigFeed = [];

    foreach ($users as $userId) {
      $userOptions = array_merge($options, ['user' => $userId]);
      $userFeed = $this->getFeed($query, $userOptions);
      $bigFeed = array_merge($bigFeed, $userFeed);
    }

    $bigFeed = $this->filterDuplicates($bigFeed);

    return $this->mapByHash($bigFeed);
  }
public function collectForUser ( $ query , $ users , $ options = [ ] ) { $ bigFeed = [ ] ; foreach ( $ users as $ userId ) { $ userOptions = array_merge ( $ options , [ 'user' => $ userId ] ) ; $ userFeed = $ this -> getFeed ( $ query , $ userOptions ) ; $ bigFeed = array_merge ( $ bigFeed , $ userFeed ) ; } $ bigFeed = $ this -> filterDuplicates ( $ bigFeed ) ; return $ this -> mapByHash ( $ bigFeed ) ; }
Searches for torrents per user

@param string $query The query to search for
@param int[] $users The users to search in
@param array $options extra options for the nyaa feed
@return NyaaSet[]
Searches for torrents per user