/** * Initialiser. * * @param \ComponentManager\PackageRepository\PackageRepositoryFactory $packageRepositoryFactory * @param \ComponentManager\PackageSource\PackageSourceFactory $packageSourceFactory * @param \ComponentManager\PackageFormat\PackageFormatFactory $packageFormatFactory * @param \ComponentManager\Platform\Platform $platform * @param \Symfony\Component\Filesystem\Filesystem $filesystem * @param \Psr\Log\LoggerInterface $logger */ public function __construct(PackageRepositoryFactory $packageRepositoryFactory, PackageSourceFactory $packageSourceFactory, PackageFormatFactory $packageFormatFactory, Platform $platform, Filesystem $filesystem, LoggerInterface $logger) { parent::__construct($packageRepositoryFactory, $packageSourceFactory, $packageFormatFactory, $platform, $filesystem, $logger); }
/** * Initialiser. * * @param \ComponentManager\PackageRepository\PackageRepositoryFactory $packageRepositoryFactory * @param \ComponentManager\PackageSource\PackageSourceFactory $packageSourceFactory * @param \ComponentManager\PackageFormat\PackageFormatFactory $packageFormatFactory * @param \ComponentManager\MoodleApi $moodleApi * @param \Symfony\Component\Filesystem\Filesystem $filesystem * @param \ComponentManager\Platform\Platform $platform * @param \Psr\Log\LoggerInterface $logger */ public function __construct(PackageRepositoryFactory $packageRepositoryFactory, PackageSourceFactory $packageSourceFactory, PackageFormatFactory $packageFormatFactory, MoodleApi $moodleApi, Filesystem $filesystem, Platform $platform, LoggerInterface $logger) { $this->moodleApi = $moodleApi; parent::__construct($packageRepositoryFactory, $packageSourceFactory, $packageFormatFactory, $platform, $filesystem, $logger); }