1 | <?php |
||
14 | class MultiStream implements Stream |
||
15 | { |
||
16 | /** |
||
17 | * @var Stream[] |
||
18 | */ |
||
19 | private $streams = []; |
||
20 | |||
21 | /** |
||
22 | * @var int |
||
23 | */ |
||
24 | private $counter = 0; |
||
25 | |||
26 | /** |
||
27 | * @param Stream $stream1 |
||
28 | * @param Stream $stream2 |
||
29 | * @param Stream ... |
||
30 | */ |
||
31 | public function __construct(Stream $stream1, Stream $stream2) |
||
37 | |||
38 | /** |
||
39 | * @param Stream $stream |
||
40 | */ |
||
41 | private function addStream(Stream $stream) |
||
45 | |||
46 | public function open() |
||
52 | |||
53 | public function close() |
||
59 | |||
60 | /** |
||
61 | * @param Url $url |
||
62 | */ |
||
63 | public function push(Url $url) |
||
70 | |||
71 | /** |
||
72 | * @return int |
||
73 | */ |
||
74 | public function count() |
||
78 | } |
||
79 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.