public function convertContent($content, $inputExtension)
    {
        $converter = $this->getConverter($inputExtension);
        $content = $converter->convert($content);
        $outputExtension = $converter->getOutExtension($inputExtension);

        return new ConverterResult(
            $content,
            $inputExtension,
            $outputExtension
        );
    }
public function convertContent($content, $inputExtension)
    {
        $converter = $this->getConverter($inputExtension);
        $content = $converter->convert($content);
        $outputExtension = $converter->getOutExtension($inputExtension);

        return new ConverterResult(
            $content,
            $inputExtension,
            $outputExtension
        );
    }
public function convertContent ( $ content , $ inputExtension ) { $ converter = $ this -> getConverter ( $ inputExtension ) ; $ content = $ converter -> convert ( $ content ) ; $ outputExtension = $ converter -> getOutExtension ( $ inputExtension ) ; return new ConverterResult ( $ content , $ inputExtension , $ outputExtension ) ; }
Converts the content.

@param string $content        The content
@param string $inputExtension The filename extension. e.g: 'html'

@return Yosymfony\Spress\Core\ContentManager\Converter\ConverterResult

@throws RuntimeException If there's no converter for the extension passed
Converts the content .