| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 3 namespace WordPress\AiClientDependencies\Http\Discovery\Strategy; 4 5 use WordPress\AiClientDependencies\Http\Discovery\Exception\StrategyUnavailableException; 6 /** 7 * @author Tobias Nyholm <tobias.nyholm@gmail.com> 8 */ 9 interface DiscoveryStrategy 10 { 11 /** 12 * Find a resource of a specific type. 13 * 14 * @param string $type 15 * 16 * @return array The return value is always an array with zero or more elements. Each 17 * element is an array with two keys ['class' => string, 'condition' => mixed]. 18 * 19 * @throws StrategyUnavailableException if we cannot use this strategy 20 */ 21 public static function getCandidates($type); 22 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |