update readme for FileInfo

This commit is contained in:
Robin Appelman 2014-07-31 16:06:35 +02:00
commit 248d308605
2 changed files with 4 additions and 3 deletions

View file

@ -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";
}
```