protected function checkAndAddDefaultDecoder($mimeType)
    {
        $decoderClass = ucfirst($mimeType) . "Decoder";

        if (file_exists(__DIR__ . '/Decoders/' . $decoderClass . '.php') && !$this->isSupportedMimeType($mimeType)) {
            $nameSpace = "Michaels\\Manager\\Decoders\\";
            $fullQualifiedClassName = $nameSpace . $decoderClass;
            $decoder = new $fullQualifiedClassName();
            $this->addDecoder($decoder);
        }
    }
protected function checkAndAddDefaultDecoder($mimeType)
    {
        $decoderClass = ucfirst($mimeType) . "Decoder";

        if (file_exists(__DIR__ . '/Decoders/' . $decoderClass . '.php') && !$this->isSupportedMimeType($mimeType)) {
            $nameSpace = "Michaels\\Manager\\Decoders\\";
            $fullQualifiedClassName = $nameSpace . $decoderClass;
            $decoder = new $fullQualifiedClassName();
            $this->addDecoder($decoder);
        }
    }
protected function checkAndAddDefaultDecoder ( $ mimeType ) { $ decoderClass = ucfirst ( $ mimeType ) . "Decoder" ; if ( file_exists ( __DIR__ . '/Decoders/' . $ decoderClass . '.php' ) && ! $ this -> isSupportedMimeType ( $ mimeType ) ) { $ nameSpace = "Michaels\\Manager\\Decoders\\" ; $ fullQualifiedClassName = $ nameSpace . $ decoderClass ; $ decoder = new $ fullQualifiedClassName ( ) ; $ this -> addDecoder ( $ decoder ) ; } }
Default decoder class factory method.
Checks to make sure we have a default decoder available and if so, adds it as a decoder to the file loader.

@param $mimeType
Default decoder class factory method . Checks to make sure we have a default decoder available and if so adds it as a decoder to the file loader .