protected int $foldersCounter = 0;
protected int $filesCounter = 0;
protected int $errorsCounter = 0;
- private IRootFolder $root;
- private MetadataManager $metadataManager;
- private IEventDispatcher $eventDispatcher;
- private LoggerInterface $logger;
+ protected int $newCounter = 0;
+ protected int $updatedCounter = 0;
+ protected int $removedCounter = 0;
public function __construct(
- IUserManager $userManager,
- IRootFolder $rootFolder,
- MetadataManager $metadataManager,
- IEventDispatcher $eventDispatcher,
- LoggerInterface $logger
+ private IUserManager $userManager,
+ private IRootFolder $rootFolder,
- private MetadataManager $metadataManager
++ private MetadataManager $metadataManager,
++ private IEventDispatcher $eventDispatcher,
++ private LoggerInterface $logger,
) {
- $this->userManager = $userManager;
parent::__construct();
- $this->root = $rootFolder;
- $this->metadataManager = $metadataManager;
- $this->eventDispatcher = $eventDispatcher;
- $this->logger = $logger;
}
- protected function configure() {
+ protected function configure(): void {
parent::configure();
$this