clue / reactphp-docker

Async, event-driven access to the Docker Engine API, built on top of ReactPHP.
https://clue.engineering/2019/introducing-reactphp-docker
MIT License
107 stars 16 forks source link

Replace `Factory` with simplified `Client` constructor #49

Closed clue closed 5 years ago

clue commented 5 years ago
// old
$factory = new Clue\React\Docker\Factory($loop);
$client = $factory->createClient($url);

// new
$client = new Clue\React\Docker\Client($loop, $url);