mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
autodetect class and protocol
This commit is contained in:
parent
2538e6d05c
commit
3171a535de
12 changed files with 28 additions and 15 deletions
|
|
@ -61,7 +61,7 @@ class UrlCallback extends Wrapper implements Url {
|
|||
'unlink' => $unlink,
|
||||
'stat' => $stat
|
||||
);
|
||||
return new Path('\Icewind\Streams\UrlCallBack', $options);
|
||||
return new Path(static::class, $options);
|
||||
}
|
||||
|
||||
protected function loadContext($url) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue