Jackalope\Query\QOM\SameNode::__construct PHP Метод

__construct() публичный Метод

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