Add getID function to the simplefile implementation
Sometimes it is useful to get the actual fileid Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
7c21fba61f
commit
7059b0b21f
|
@ -180,4 +180,8 @@ class SimpleFile implements ISimpleFile {
|
||||||
public function write() {
|
public function write() {
|
||||||
return $this->file->fopen('w');
|
return $this->file->fopen('w');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getId(): int {
|
||||||
|
return $this->file->getId();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue