public function __construct(string $registry, string $tagName) { $this->registry = $registry; $this->tagName = $tagName; $this->taggedDefinitionsLocator = new TaggedDefinitionsLocator(); }