ExtensionGuesser
ExtensionGuesser
class ExtensionGuesser implements ExtensionGuesserInterface
A singleton mime type to file extension guesser.
A default guesser is provided. You can register custom guessers by calling the register() method on the singleton instance:
$guesser = ExtensionGuesser::getInstance();
$guesser->register(new MyCustomExtensionGuesser());
The last registered guesser is preferred over previously registered ones.
Methods
static ExtensionGuesser | 登录查看完整内容
|