Manual:Hooks/MimeMagicGuessFromContent

Details

 * $mimeMagic: Instance of MimeMagic.
 * &$head: First 1024 bytes of the file in a string (in - Do not alter!).
 * &$tail: More or equal than last 65558 bytes of the file in a string (input only - passed by reference for performance - do not alter!).
 * $file: File path.
 * &$mime: MIME type (out).