lib/MwbExporter/Bootstrap.php
public function getWriter($name)
    {
        $class = sprintf('\\MwbExporter\\Writer\\%sWriter', ucfirst($name));
        if (class_exists($class)) {
            $writter = new $class();

            return $writter;
        }

        throw new \InvalidArgumentException(sprintf('Writer %s not found.', $class));
    }
public function getWriter($name)
    {
        $class = sprintf('\\MwbExporter\\Writer\\%sWriter', ucfirst($name));
        if (class_exists($class)) {
            $writter = new $class();

            return $writter;
        }

        throw new \InvalidArgumentException(sprintf('Writer %s not found.', $class));
    }
public function getWriter ( $ name ) { $ class = sprintf ( '\\MwbExporter\\Writer\\%sWriter' , ucfirst ( $ name ) ) ; if ( class_exists ( $ class ) ) { $ writter = new $ class ( ) ; return $ writter ; } throw new \ InvalidArgumentException ( sprintf ( 'Writer %s not found.' , $ class ) ) ; }
Get writer.

@param string $name  The writer name
@return \MwbExporter\Writer\WriterInterface
Get writer .