1 | <?php |
||
14 | class ExtensionGuesserFactory implements ExtensionGuesserFactoryInterface |
||
15 | { |
||
16 | /** |
||
17 | * Should return an extension guesser instance, used for file uploads |
||
18 | * |
||
19 | * NOTE: If you override this, you'll probably still have to register the SVGExtensionGuesser as last guesser... |
||
20 | * |
||
21 | * @return ExtensionGuesserInterface |
||
22 | */ |
||
23 | public function get() |
||
30 | } |
||
31 |
If you suppress an error, we recommend checking for the error condition explicitly: