left = $left; $this->right = $right; } public function matches(array $scopes): bool { return ($this->left->matches($scopes) || $this->right->matches($scopes)); } public function getPrefix(array $scopes): string|null|false { return $this->left->getPrefix($scopes) || $this->right->getPrefix($scopes); } }