1 | <?php |
||
6 | class PipeLine implements PipeLineInterface, \Countable |
||
7 | { |
||
8 | private $queue = []; |
||
9 | private $pointer = 0; |
||
10 | private $queueOrder = PHP_INT_MAX; |
||
11 | |||
12 | 6 | public function current(): PipeInterface |
|
16 | |||
17 | 8 | public function insert(PipeInterface $handler, int $priority = 0): void |
|
32 | |||
33 | 5 | public function next(): void |
|
37 | |||
38 | 4 | public function valid(): bool |
|
42 | |||
43 | 1 | public function count(): int |
|
47 | |||
48 | 5 | public function rewind(): void |
|
52 | } |
||
53 |