2015-08-11 13:45:07 -04:00
|
|
|
<?php
|
|
|
|
|
/**
|
2024-06-06 03:55:47 -04:00
|
|
|
* SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2015-08-11 13:45:07 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\Files_External\Lib;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Trait for objects that have dependencies for use
|
|
|
|
|
*/
|
|
|
|
|
trait DependencyTrait {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Check if object is valid for use
|
|
|
|
|
*
|
|
|
|
|
* @return MissingDependency[] Unsatisfied dependencies
|
|
|
|
|
*/
|
|
|
|
|
public function checkDependencies() {
|
2015-09-01 05:25:33 -04:00
|
|
|
return []; // no dependencies by default
|
2015-08-11 13:45:07 -04:00
|
|
|
}
|
|
|
|
|
}
|