Add getOwner() method to FileInfo and Node API
This commit is contained in:
parent
1e9203cdef
commit
84e5b76d3c
2 changed files with 14 additions and 0 deletions
|
@ -225,4 +225,12 @@ interface Node extends FileInfo {
|
|||
* @since 6.0.0
|
||||
*/
|
||||
public function getName();
|
||||
|
||||
/**
|
||||
* Get the file owner
|
||||
*
|
||||
* @since 9.0.0
|
||||
* @return string
|
||||
*/
|
||||
public function getOwner();
|
||||
}
|
||||
|
|
|
@ -462,4 +462,10 @@ interface Storage {
|
|||
* @param bool $isAvailable
|
||||
*/
|
||||
public function setAvailability($isAvailable);
|
||||
|
||||
/**
|
||||
* @param $path path for which to retrieve the owner
|
||||
* @since 9.0.0
|
||||
*/
|
||||
public function getOwner($path);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue