name = $name; } public function accepts(Instrument $instrument, InstrumentationScopeInterface $instrumentationScope): bool { return $this->name === $instrumentationScope->getName(); } }