Add getOwner() method to FileInfo and Node API

This commit is contained in:
Vincent Petry 2015-11-02 15:04:56 +01:00
parent 1e9203cdef
commit 84e5b76d3c
2 changed files with 14 additions and 0 deletions

View File

@ -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();
}

View File

@ -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);
}