Added phpdoc for getUserHome

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Sergio Bertolin 2016-12-22 11:58:36 +00:00 committed by Lukas Reschke
parent d1b8e58c86
commit aad088f3c0
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 4 additions and 0 deletions

View File

@ -704,6 +704,10 @@ trait Provisioning {
$this->userHasAQuotaOf($user, 'none');
}
/**
* Returns home path of the given user
* @param string $user
*/
public function getUserHome($user) {
$fullUrl = $this->baseUrl . "v{$this->apiVersion}.php/cloud/users/$user";
$client = new Client();