public function chown($username) {

		if(false === is_string($username)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($username)), E_USER_ERROR);
		}

		if(false !== $this -> directory -> getExists()) {
			return chown($this -> directory -> getPath(), $username);
		}

		return false;
	}
public function chown($username) {

		if(false === is_string($username)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($username)), E_USER_ERROR);
		}

		if(false !== $this -> directory -> getExists()) {
			return chown($this -> directory -> getPath(), $username);
		}

		return false;
	}
public function chown ( $ username ) { if ( false === is_string ( $ username ) ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() must be of the type string, "%s" given' , __METHOD__ , gettype ( $ username ) ) , E_USER_ERROR ) ; } if ( false !== $ this -> directory -> getExists ( ) ) { return chown ( $ this -> directory -> getPath ( ) , $ username ) ; } return false ; }
Returns true if current directory has successfully changed owner, otherwise false
@param string $username
@return boolean
Returns true if current directory has successfully changed owner otherwise false