1 | <?php |
||
19 | final class PluginClientFactory |
||
20 | { |
||
21 | /** |
||
22 | * @param Plugin[] $plugins |
||
23 | * @param ClientFactory|callable $factory |
||
24 | * @param array $config config to the client factory |
||
25 | * @param array $pluginClientOptions config forwarded to the PluginClient |
||
26 | * |
||
27 | * @return PluginClient |
||
28 | */ |
||
29 | public static function createPluginClient(array $plugins, $factory, array $config, array $pluginClientOptions = []) |
||
41 | } |
||
42 |
If you suppress an error, we recommend checking for the error condition explicitly: