Class

Symfony\Component\CssSelector\Node\OrNode

class OrNode implements NodeInterface

OrNode represents a "Or" node.

This component is a port of the Python lxml library, which is copyright Infrae and distributed under the BSD license.

Methods

__construct(NodeInterface[] $items)

Constructor.

string __toString()

Returns a string representation of the object.

XPathExpr toXpath()

Details

at line 36
public __construct(NodeInterface[] $items)

Constructor.

Parameters

NodeInterface[] $items An array of NodeInterface objects

at line 44
public string __toString()

Returns a string representation of the object.

Return Value

string The string representation

at line 52
public XPathExpr toXpath()

Return Value

XPathExpr The XPath expression

Exceptions

ParseException When unknown operator is found