Extract share interface

This commit is contained in:
Robin Appelman 2014-07-12 15:51:31 +02:00
commit cc376a4b31
3 changed files with 104 additions and 3 deletions

View file

@ -67,7 +67,7 @@ class Server {
}
/**
* @return Share[]
* @return \Icewind\SMB\IShare[]
* @throws \Icewind\SMB\AuthenticationException
* @throws \Icewind\SMB\InvalidHostException
*/
@ -118,7 +118,7 @@ class Server {
/**
* @param string $name
* @return Share
* @return \Icewind\SMB\IShare
*/
public function getShare($name) {
return new Share($this, $name);