Add interfaces for File and Directory wrappers

This commit is contained in:
Robin Appelman 2014-07-30 23:51:55 +02:00
commit b876cef7f2
5 changed files with 124 additions and 3 deletions

View file

@ -28,7 +28,7 @@ class NullWrapper extends Wrapper {
return $wrapped;
}
public function stream_open() {
public function stream_open($path, $mode, $options, &$opened_path) {
$this->loadContext('null');
return true;
}