src/Funstaff/Tika/Configuration.php
public function setOutputFormat($format)
    {
        $output = array('xml', 'html', 'text', 'text-main');
        if (!in_array($format, $output)) {
            throw new \InvalidArgumentException(sprintf(
                'Available output format: %s',
                implode(', ', $output)
            ));
        }
        $this->outputFormat = $format;

        return $this;
    }
public function setOutputFormat($format)
    {
        $output = array('xml', 'html', 'text', 'text-main');
        if (!in_array($format, $output)) {
            throw new \InvalidArgumentException(sprintf(
                'Available output format: %s',
                implode(', ', $output)
            ));
        }
        $this->outputFormat = $format;

        return $this;
    }
public function setOutputFormat ( $ format ) { $ output = array ( 'xml' , 'html' , 'text' , 'text-main' ) ; if ( ! in_array ( $ format , $ output ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Available output format: %s' , implode ( ', ' , $ output ) ) ) ; } $ this -> outputFormat = $ format ; return $ this ; }
Set Output Format

@param string $format

@return ConfigurationInterface
Set Output Format