19 declare(strict_types=1);
35 $this->attribute =
'';
37 $this->any_attribute_enabled =
false;
40 public function withAttribute(
string $attribute): ilAttributeFilePathNodeInterface
57 $clone->any_attribute_enabled =
$enabled;
63 $attribute = $this->any_attribute_enabled
65 :
'@' . $this->attribute . $this->comparison->toString();
66 return '[' . $attribute .
']';
ilHandlerInterface $comparison
bool $any_attribute_enabled
withAttribute(string $attribute)
withAnyAttributeEnabled(bool $enabled)
withComparison(ilHandlerInterface $comparison)