mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Extract share interface
This commit is contained in:
parent
eca03d1b88
commit
cc376a4b31
3 changed files with 104 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue