Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Xentral\Components\HttpClient;
|
||||
|
||||
final class Bootstrap
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public static function registerServices(): array
|
||||
{
|
||||
return [
|
||||
'HttpClientFactory' => 'onInitHttpClientFactory',
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return HttpClientFactory
|
||||
*/
|
||||
public static function onInitHttpClientFactory(): HttpClientFactory
|
||||
{
|
||||
return new HttpClientFactory();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user