19declare(strict_types=1);
26class Attribute implements AttributeFilePathNodeInterface
34 $this->attribute =
'';
35 $this->any_attribute_enabled =
false;
55 $clone->any_attribute_enabled = $enabled;
63 :
'@' . $this->attribute . (isset($this->comparison) ? $this->comparison->toString() :
"");
withAnyAttributeEnabled(bool $enabled)
withAttribute(string $attribute)
bool $any_attribute_enabled
HandlerInterface $comparison
withComparison(HandlerInterface $comparison)