Documentation

DiscoveryStrategy

Tags
author

Tobias Nyholm tobias.nyholm@gmail.com

Table of Contents

Methods

getCandidates()  : array<string|int, mixed>
Find a resource of a specific type.

Methods

getCandidates()

Find a resource of a specific type.

public static getCandidates(string $type) : array<string|int, mixed>
Parameters
$type : string
Tags
throws
StrategyUnavailableException

if we cannot use this strategy

Return values
array<string|int, mixed>

The return value is always an array with zero or more elements. Each element is an array with two keys ['class' => string, 'condition' => mixed].


        
On this page

Search results