Simplified codebase in a major refactor before moving to initial Toalett release

This commit is contained in:
2021-01-06 18:11:09 +01:00
parent 4edc6132c4
commit baca5b129e
18 changed files with 448 additions and 409 deletions

17
src/Source.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
namespace Toalett\React\Stream;
interface Source
{
public function open(): void;
/**
* @return mixed|null
*/
public function select();
public function close(): void;
public function eof(): bool;
}