summaryrefslogtreecommitdiff
path: root/app/finders/packages/composer/packages_finder.rb
blob: b5a1b19216ffbc6953d107b599bf65c617b95fc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true
module Packages
  module Composer
    class PackagesFinder < Packages::GroupPackagesFinder
      def initialize(current_user, group, params = {})
        @current_user = current_user
        @group = group
        @params = params
      end

      def execute
        packages_for_group_projects(installable_only: true).composer.preload_composer
      end
    end
  end
end