-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
When I call
Yii::$app->fs->getWithMetadata('/path/to/file', ['mimetype']);
I get:
BadMethodCallException
Call to undefined method League\Flysystem\Filesystem::getWithMetadata
I found this
thephpleague/flysystem#461
Adding this line:
$this->filesystem->addPlugin(new \League\Flysystem\Plugin\GetWithMetadata());
to yii2-flysystem/src/Filesystem.php to end of init() method fix this bug. But it return all metadata, not only parameterss from second argument of function.
Metadata
Metadata
Assignees
Labels
No labels