| 1 | <?php  | 
            ||
| 17 | final class HttpClientFactory  | 
            ||
| 18 | { | 
            ||
| 19 | |||
| 20 | private function __construct()  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * Create a new instance of Http(s) client for given url  | 
            ||
| 27 | *  | 
            ||
| 28 | * @param Url $url  | 
            ||
| 29 | * The url to create a http(s) client instance for  | 
            ||
| 30 | *  | 
            ||
| 31 | * @return HttpStream  | 
            ||
| 32 | */  | 
            ||
| 33 | 2 | public static function get(Url $url): HttpStream  | 
            |
| 40 | }  |