0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-03-12 15:37:27 +00:00
nextcloud_server/lib/public/IBinaryFinder.php
Andy Scherzinger dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00

27 lines
530 B
PHP

<?php
declare(strict_types = 1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP;
/**
* Service that find the binary path for a program.
*
* This interface should be injected via depency injection and must
* not be implemented in applications.
*
* @since 25.0.0
*/
interface IBinaryFinder {
/**
* Try to find a program
*
* @return false|string
* @since 25.0.0
*/
public function findBinaryPath(string $program);
}