public function __construct(PackageRepositoryInterface $packageRepository, Client $client) { $this->packageRepository = $packageRepository; $this->client = $client; }