DefaultMetadataReader
class DefaultMetadataReader extends AbstractMetadataReader
A metadata reader that actually doesn't try to extract metadata.
Methods
readData(string $data, resource $originalResource = null)
Reads metadata from a binary string.
readStream(resource $resource)
Reads metadata from a stream.
array
array
extractFromData($data)
Extracts metadata from raw data.
array
extractFromStream($resource)
Extracts metadata from a stream.
Details
in AbstractMetadataReader at line 28
MetadataBag
readFile(string|LoaderInterface $file)
Reads metadata from a file.
in AbstractMetadataReader at line 40
MetadataBag
readData(string $data, resource $originalResource = null)
Reads metadata from a binary string.
in AbstractMetadataReader at line 54
MetadataBag
readStream(resource $resource)
Reads metadata from a stream.
at line 24
protected array
extractFromFile(string|LoaderInterface $file)
Extracts metadata from a file.
at line 34
protected array
extractFromData($data)
Extracts metadata from raw data.
at line 44
protected array
extractFromStream($resource)
Extracts metadata from a stream.