| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class StaticArrayLocator implements LocatorInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * Array of available proxies for requests, IP:PORT |
||
| 27 | * |
||
| 28 | * @var string[] |
||
| 29 | */ |
||
| 30 | private $proxyList; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * StaticArrayLocator constructor. |
||
| 34 | * |
||
| 35 | * @param string[] $proxyList Array of available proxies for requests, IP:PORT |
||
| 36 | */ |
||
| 37 | public function __construct(array $proxyList) |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * {@inheritdoc} |
||
| 44 | */ |
||
| 45 | public function locate(): iterable |
||
| 50 |