dosamigos\flysystem\WebDAVFsComponent: listWith not supported?
strtob opened this issue · 1 comments
strtob commented
What steps will reproduce the problem?
Yii::$app->fs->listWith(['mimetype', 'path'], '/');
What is the expected result?
array of elements of directory
What do you get instead?
Call to undefined method League\Flysystem\Filesystem::listWith
strtob commented
ok, you have to use addPlugin method, in this case:
Yii::$app->fs->addPlugin(new League\Flysystem\Plugin\ListWith());