centralDBManager = $centralDBManager; $this->filterLookup = $filterLookup; $this->varBlobStore = $varBlobStore; $this->varManager = $varManager; $this->editRevUpdater = $editRevUpdater; $this->lbFactory = $lbFactory; $this->actorStore = $actorStore; $this->options = $options; $this->wikiID = $wikiID; $this->requestIP = $requestIP; $this->logger = $logger; } /** * @param int $delay * @return ProtectedVarsAccessLogger */ public function getProtectedVarsAccessLogger( int $delay = self::DEFAULT_DEBOUNCE_DELAY ) { return new ProtectedVarsAccessLogger( $this->logger, $this->lbFactory, $this->actorStore, $delay ); } /** * @param Title $title * @param User $user * @param VariableHolder $vars * @return AbuseLogger */ public function newLogger( Title $title, User $user, VariableHolder $vars ): AbuseLogger { return new AbuseLogger( $this->centralDBManager, $this->filterLookup, $this->varBlobStore, $this->varManager, $this->editRevUpdater, $this->lbFactory, $this->options, $this->wikiID, $this->requestIP, $title, $user, $vars ); } }