src/Valkyrja/Filesystem/FlyFilesystem.php
public function metadata(string $path): ? array
    {
        $metadata = $this->flySystem->getMetadata($path);

        return false !== $metadata ? $metadata : null;
    }
public function metadata(string $path): ? array
    {
        $metadata = $this->flySystem->getMetadata($path);

        return false !== $metadata ? $metadata : null;
    }
Get a file's meta data.

@param string $path The path

@throws \League\Flysystem\FileNotFoundException

@return array|null An array of meta data or null on failure