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
3c1402c2d9
commit
147134fc31
|
@ -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