Skip to content

Commit f3b3c6f

Browse files
authored
return HandlerStack for BC (#391)
* return HandlerStack for Backward Compatibility - #382
1 parent e351554 commit f3b3c6f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/Common/Transport/HandlerStack.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace OpenStack\Common\Transport;
4+
5+
/**
6+
* @deprecated use \OpenStack\Common\Transport\HandlerStackFactory instead
7+
*/
8+
class HandlerStack
9+
{
10+
public static function create(callable $handler = null): \GuzzleHttp\HandlerStack
11+
{
12+
return HandlerStackFactory::create($handler);
13+
}
14+
}

0 commit comments

Comments
 (0)