Lines Matching refs:handler
40 * @param FacebookHttpClientInterface|Client|string|null $handler
47 public static function createHttpClient($handler) argument
49 if (!$handler) {
53 if ($handler instanceof FacebookHttpClientInterface) {
54 return $handler;
57 if ('stream' === $handler) {
60 if ('curl' === $handler) {
68 if ('guzzle' === $handler && !class_exists('GuzzleHttp\Client')) {
72 if ($handler instanceof Client) {
73 return new FacebookGuzzleHttpClient($handler);
75 if ('guzzle' === $handler) {