mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-08 07:54:03 +09:00
changes
This commit is contained in:
23
vendor/php-http/discovery/src/Strategy/DiscoveryStrategy.php
vendored
Normal file
23
vendor/php-http/discovery/src/Strategy/DiscoveryStrategy.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Http\Discovery\Strategy;
|
||||
|
||||
use Http\Discovery\Exception\StrategyUnavailableException;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
*/
|
||||
interface DiscoveryStrategy
|
||||
{
|
||||
/**
|
||||
* Find a resource of a specific type.
|
||||
*
|
||||
* @param string $type
|
||||
*
|
||||
* @return array The return value is always an array with zero or more elements. Each
|
||||
* element is an array with two keys ['class' => string, 'condition' => mixed].
|
||||
*
|
||||
* @throws StrategyUnavailableException if we cannot use this strategy.
|
||||
*/
|
||||
public static function getCandidates($type);
|
||||
}
|
||||
Reference in New Issue
Block a user