Skip to content

Commit

Permalink
Make ReactAdapter constructor public
Browse files Browse the repository at this point in the history
This allows using the ReactAdapter separately from Amp's global event loop, e.g. if someone just wants to run their ReactPHP application with UV.
  • Loading branch information
kelunik committed Sep 14, 2017
1 parent 7ab1f33 commit c547109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ReactAdapter.php
Expand Up @@ -16,7 +16,7 @@ class ReactAdapter implements LoopInterface {
private $writeWatchers = [];
private $timers = [];

private function __construct(Driver $driver) {
public function __construct(Driver $driver) {
$this->driver = $driver;
}

Expand Down

0 comments on commit c547109

Please sign in to comment.