lib/MwbExporter/Formatter/Formatter.php
protected function setDatatypeConverter(DatatypeConverterInterface $datatypeConverter)
    {
        if (null == $datatypeConverter) {
            throw new \RuntimeException('DatatypeConverter can\'t be null.');
        }
        $this->datatypeConverter = $datatypeConverter;
        $this->datatypeConverter->setup();

        return $this;
    }
protected function setDatatypeConverter(DatatypeConverterInterface $datatypeConverter)
    {
        if (null == $datatypeConverter) {
            throw new \RuntimeException('DatatypeConverter can\'t be null.');
        }
        $this->datatypeConverter = $datatypeConverter;
        $this->datatypeConverter->setup();

        return $this;
    }
protected function setDatatypeConverter ( DatatypeConverterInterface $ datatypeConverter ) { if ( null == $ datatypeConverter ) { throw new \ RuntimeException ( 'DatatypeConverter can\'t be null.' ) ; } $ this -> datatypeConverter = $ datatypeConverter ; $ this -> datatypeConverter -> setup ( ) ; return $ this ; }
Set data type converter.

@param \MwbExporter\Formatter\DatatypeConverterInterface $datatypeConverter
@return \MwbExporter\Formatter\Formatter
Set data type converter .