Open Journal Systems  3.3.0
Http\Discovery\Strategy\MockClientStrategy Class Reference
Inheritance diagram for Http\Discovery\Strategy\MockClientStrategy:
Http\Discovery\Strategy\DiscoveryStrategy

Static Public Member Functions

static getCandidates ($type)
 

Detailed Description

Find the Mock client.

Author
Sam Rapaport me@sa.nosp@m.mrap.nosp@m.dev.c.nosp@m.om

Definition at line 14 of file MockClientStrategy.php.

Member Function Documentation

◆ getCandidates()

static Http\Discovery\Strategy\MockClientStrategy::getCandidates (   $type)
static

{Find a resource of a specific type.

Parameters
string$type
Returns
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].
Exceptions
StrategyUnavailableExceptionif we cannot use this strategy.
}

Implements Http\Discovery\Strategy\DiscoveryStrategy.

Definition at line 19 of file MockClientStrategy.php.


The documentation for this class was generated from the following file: