mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-04 00:54:08 +02:00
autodetect class and protocol
This commit is contained in:
parent
2538e6d05c
commit
3171a535de
12 changed files with 28 additions and 15 deletions
|
|
@ -24,7 +24,7 @@ class NullWrapper extends Wrapper {
|
|||
'null' => array(
|
||||
'source' => $source)
|
||||
));
|
||||
return Wrapper::wrapSource($source, $context, 'null', '\Icewind\Streams\NullWrapper');
|
||||
return self::wrapSource($source, $context);
|
||||
}
|
||||
|
||||
public function stream_open($path, $mode, $options, &$opened_path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue