Symfony\Component\CssSelector\Node
AttributeNode::__toString() public WC 1.0
{@inheritdoc}
{} Это метод класса: AttributeNode{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$AttributeNode = new AttributeNode(); $AttributeNode->__toString();
Код AttributeNode::__toString() AttributeNode:: toString WC 5.0.0
public function __toString()
{
$attribute = $this->namespace ? $this->namespace.'|'.$this->attribute : $this->attribute;
return 'exists' === $this->operator
? sprintf('%s[%s[%s]]', $this->getNodeName(), $this->selector, $attribute)
: sprintf("%s[%s[%s %s '%s']]", $this->getNodeName(), $this->selector, $attribute, $this->operator, $this->value);
}