counter++; return 'read'; } public function resetCounter(): void { $this->counter = 0; } public function getCounter(): int { return $this->counter; } }