1 | <?php |
||
8 | class Plumber |
||
9 | { |
||
10 | /** |
||
11 | * @var ProviderInterface |
||
12 | */ |
||
13 | private $source; |
||
14 | /** |
||
15 | * @var PipeLineInterface |
||
16 | */ |
||
17 | private $pipeLine; |
||
18 | /** |
||
19 | * @var EmitterInterface |
||
20 | */ |
||
21 | private $emitter; |
||
22 | |||
23 | 4 | public function __construct(ProviderInterface $source, PipeLineInterface $pipeLine, EmitterInterface $emitter) |
|
29 | |||
30 | /** |
||
31 | * Pour source into pipeline. |
||
32 | */ |
||
33 | 4 | public function pour(): void |
|
54 | } |
||
55 |