Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class StreamOpener implements StreamOpenerInterface |
||
11 | { |
||
12 | use Unserializable; |
||
13 | |||
14 | /** |
||
15 | * @var StreamRegistrarInterface |
||
16 | */ |
||
17 | protected $registrar; |
||
18 | |||
19 | 15 | public function __construct(StreamRegistrarInterface $registrar) |
|
20 | { |
||
21 | 15 | $this->registrar = $registrar; |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return resource |
||
26 | */ |
||
27 | 15 | public function open(StreamInterface $stream) |
|
32 | } |
||
33 | } |
||
34 |