2amigos/yii2-flysystem-component

dosamigos\flysystem\WebDAVFsComponent: listWith not supported?

strtob opened this issue · 1 comments

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

ok, you have to use addPlugin method, in this case:

Yii::$app->fs->addPlugin(new League\Flysystem\Plugin\ListWith());