protected function getContentType($method)
    {
        // Just to make PHPMD happy.
        $method = null;
        $file = $this->getArgument("file");
        if (!is_null($file)) {
            return "text/csv";
        }
        $soundFile = $this->getArgument("sound_file");
        if (!is_null($soundFile)) {
            return "audio/mpeg";
        }
        return 'application/json';
    }
protected function getContentType($method)
    {
        // Just to make PHPMD happy.
        $method = null;
        $file = $this->getArgument("file");
        if (!is_null($file)) {
            return "text/csv";
        }
        $soundFile = $this->getArgument("sound_file");
        if (!is_null($soundFile)) {
            return "audio/mpeg";
        }
        return 'application/json';
    }
protected function getContentType ( $ method ) { // Just to make PHPMD happy. $ method = null ; $ file = $ this -> getArgument ( "file" ) ; if ( ! is_null ( $ file ) ) { return "text/csv" ; } $ soundFile = $ this -> getArgument ( "sound_file" ) ; if ( ! is_null ( $ soundFile ) ) { return "audio/mpeg" ; } return 'application/json' ; }
Returns the content type for this endpoint.

@param string $method Method for this command.

@return string
Returns the content type for this endpoint .