File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 6
6
use Http \Client \HttpClient ;
7
7
8
8
/**
9
+ * Factory to create PluginClient instances. Using this factory instead of calling PluginClient constructor will enable
10
+ * the Symfony profiling without any configuration.
11
+ *
9
12
* @author Fabien Bourigault <bourigaultfabien@gmail.com>
10
13
*/
11
14
final class PluginClientFactory
@@ -19,6 +22,8 @@ final class PluginClientFactory
19
22
* Set the factory to use.
20
23
* The callable to provide must have the same arguments and return type as PluginClientFactory::createClient.
21
24
* This is used by the HTTPlugBundle to provide a better Symfony integration.
25
+ * Unlike the createClient method, this one is static to allow zero configuration profiling by hooking into early
26
+ * application execution.
22
27
*
23
28
* @internal
24
29
*
You can’t perform that action at this time.
0 commit comments