Rename Reader to Consumer and Writer to Producer

This commit is contained in:
2021-01-23 01:35:09 +03:00
parent bf738254b1
commit 6eeb2939c8
7 changed files with 27 additions and 25 deletions

View File

@@ -14,9 +14,9 @@ final class Subscriber
public const STOP = 0;
public const CHANGE_TIMEOUT = 1;
private Reader $reader;
private Consumer $reader;
public function __construct(Reader $reader)
public function __construct(Consumer $reader)
{
$this->reader = $reader;
}