public function MimeMapManagerInterface::getExtension in Sophron 8
Gets a file extension.
Parameters
string $extension: A file extension string.
Return value
\FileEye\MimeMap\Extension An Extension object.
See also
\FileEye\MimeMap\Extension
1 method overrides MimeMapManagerInterface::getExtension()
- MimeMapManager::getExtension in src/
MimeMapManager.php - Gets a file extension.
File
- src/
MimeMapManagerInterface.php, line 107
Class
- MimeMapManagerInterface
- Provides an interface for FileMapManager.
Namespace
Drupal\sophronCode
public function getExtension($extension);