public __construct ( string $selectorName, string $parentPath ) | ||
$selectorName | string | |
$parentPath | string | parent path the node must be child of |
public function __construct($selectorName, $parentPath)
{
if (null === $selectorName) {
throw new \InvalidArgumentException('Required argument selectorName may not be null.');
}
$this->parentPath = $parentPath;
$this->selectorName = $selectorName;
}