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

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

Create a new full text search constraint
public __construct ( string $selectorName, string $propertyName, string $fullTextSearchExpression )
$selectorName string
$propertyName string
$fullTextSearchExpression string
    public function __construct($selectorName, $propertyName, $fullTextSearchExpression)
    {
        if (null === $selectorName) {
            throw new \InvalidArgumentException('Required argument selectorName may not be null.');
        }
        $this->propertyName = $propertyName;
        $this->searchExpression = $fullTextSearchExpression;
        $this->selectorName = $selectorName;
    }