mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
update readme for FileInfo
This commit is contained in:
parent
1c11289d36
commit
248d308605
2 changed files with 4 additions and 3 deletions
|
|
@ -73,9 +73,9 @@ $server = new Server('localhost', 'test', 'test');
|
|||
$share = $server->getShare('test');
|
||||
$content = $share->dir('test');
|
||||
|
||||
foreach ($content as $name => $info) {
|
||||
echo $name . "\n";
|
||||
echo "\tsize :" . $info['size'] . "\n";
|
||||
foreach ($content as $info) {
|
||||
echo $name->getName() . "\n";
|
||||
echo "\tsize :" . $info->getSize() . "\n";
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue