Jackalope\Query\QOM\Selector::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $selectorName, string $nodeTypeName )
$selectorName string
$nodeTypeName string
    public function __construct($selectorName, $nodeTypeName)
    {
        if (null === $selectorName) {
            throw new \InvalidArgumentException('Required argument selectorName may not be null.');
        }
        $this->selectorName = $selectorName;
        $this->nodeTypeName = $nodeTypeName;
    }