public static function setDefaultMagicFile($filePath = null)
    {
        if (!is_null($filePath) && !file_exists($filePath)) {
            throw new FileNotFoundException('File does not exist or is not readable: ' . $filePath);
        }
        self::$defaultMagicFile = $filePath;
    }
public static function setDefaultMagicFile($filePath = null)
    {
        if (!is_null($filePath) && !file_exists($filePath)) {
            throw new FileNotFoundException('File does not exist or is not readable: ' . $filePath);
        }
        self::$defaultMagicFile = $filePath;
    }
public static function setDefaultMagicFile ( $ filePath = null ) { if ( ! is_null ( $ filePath ) && ! file_exists ( $ filePath ) ) { throw new FileNotFoundException ( 'File does not exist or is not readable: ' . $ filePath ) ; } self :: $ defaultMagicFile = $ filePath ; }
Inject default magic file to be used on instantiating class.

@param string $filePath path to the magic file to be used, defaults to shipped data file
@throws Exception\FileNotFoundException if specified filePath does not exist or is not readable
Inject default magic file to be used on instantiating class .