interface ExtensionResolverInterface implements ResolverInterface

Interface for extension resolver implementations.

Methods

bool
supports( StorageObjectInterface $object = null)

Determine if resolver is supported and supports object.

bool|mixed
resolve( StorageObjectInterface $object)

Attempt to determine the mime type of the file object.

Details

in ResolverInterface at line line 29
bool supports( StorageObjectInterface $object = null)

Determine if resolver is supported and supports object.

Parameters

StorageObjectInterface $object

Return Value

bool

in ResolverInterface at line line 38
bool|mixed resolve( StorageObjectInterface $object)

Attempt to determine the mime type of the file object.

Parameters

StorageObjectInterface $object

Return Value

bool|mixed