f7cloud_client/lib/public/Files/Search/ISearchBinaryOperator.php
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

48 lines
821 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2017 F7cloud GmbH and F7cloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Files\Search;
/**
* @since 12.0.0
*/
interface ISearchBinaryOperator extends ISearchOperator {
/**
* @since 12.0.0
*/
public const OPERATOR_AND = 'and';
/**
* @since 12.0.0
*/
public const OPERATOR_OR = 'or';
/**
* @since 12.0.0
*/
public const OPERATOR_NOT = 'not';
/**
* The type of binary operator
*
* One of the ISearchBinaryOperator::OPERATOR_* constants
*
* @return string
* @since 12.0.0
*/
public function getType();
/**
* The arguments for the binary operator
*
* One argument for the 'not' operator and two for 'and' and 'or'
*
* @return ISearchOperator[]
* @since 12.0.0
*/
public function getArguments();
}