_child = $child; } public function getPrefix(array $scopes): ?int { return ($this->matches($scopes)) ? $this->_child->getPrefix($scopes) : null; } public function matches(array $scopes): bool { return $this->_child->matches($scopes); } public function __toString(): string { return "({$this->_child})"; } }