Get the output format

@return string  Returns the current output format.
968663
public function getFormat()
    {
        switch (true) {
            case ($this->encoder instanceof Base32Encoder):
                $format = self::FORMAT_BASE32;
                break;
            case ($this->encoder instanceof HexEncoder):
                $format = self::FORMAT_HEX;
                break;
            case ($this->encoder instanceof RawEncoder):
            default:
                $format = self::FORMAT_RAW;
        }

        return $format;
    }
209197
public function format()
	{
		$string = '';
		
		if ( ! empty($this->segments)) {
			$string = implode($this->separator, $this->segments);
		}
		
		return $string;
	}
5963
private function getOutput() {
        $output = $this->process->getErrorOutput() . $this->process->getOutput();

        return trim(preg_replace('/ +$/m', '', $output));
    }
810967
public static function getFormatos()
    {
        if (!self::$formatos) {
            $dir = dirname(__FILE__).'/Formatos';
            $formatos = scandir($dir);
            foreach($formatos as &$formato) {
                if ($formato[0]=='.')
                    continue;
                if (is_dir($dir.'/'.$formato)) {
                    $subformatos = scandir($dir.'/'.$formato);
                    foreach($subformatos as &$subformato) {
                        if ($subformato[0]=='.')
                            continue;
                        self::$formatos[] = $formato.'.'.substr($subformato, 0, -4);
                    }
                } else {
                    self::$formatos[] = substr($formato, 0, -4);
                }
            }
        }
        return self::$formatos;
    }
1354719
private function getOutputCallback()
    {
        if (is_null($this->outputCallback)) {
            $this->outputCallback = function ($line, $depth) {
                if ($depth < 0) {
                    return;
                }
                $indent = str_repeat("  ", $depth);
                $this->output .= $indent . $line . "\n";
            };
        }
        return $this->outputCallback;
    }
102636
public function getDateFormat()
    {
        $formatter = new IntlDateFormatter(
            $this->getLocale(),
            IntlDateFormatter::MEDIUM,
            IntlDateFormatter::NONE
        );
        $format = $formatter->getPattern();

        $this->extend('updateDateFormat', $format);

        return $format;
    }
438597
public function getOutput() {
		// create stream handle for the output
		$handle = fopen('php://temp/maxmemory:'.(1*1024*1024), 'r+'); // 1MB

		foreach ($this->_content['content'] as $nr => $row) {
			// use first row for headlines
			if ($nr == 0 && $this->table_header === true) {
				fwrite($handle, $this -> _createRow(array_keys($row)));
			}

			fwrite($handle, $this -> _createRow($row));
		}

		return $handle;
	}
595316
public function getOutputType()
    {
        $type = $this->outputType;

        if (is_null($type)) {
            $type = $this->getInfo('type');
        }

        return preg_replace('~image/~', null, $this->formatType($type));
    }
367290
public function getFormattedSize(): string
    {
        $kiloBytes = $this->getSize() / 1024;
        if ($kiloBytes < 1024) {
            return round($kiloBytes, 2).' KB';
        }
        $megaBytes = $kiloBytes / 1024;
        if ($megaBytes < 1024) {
            return round($megaBytes, 1).' MB';
        }

        return round($megaBytes / 1024, 1).' GB';
    }
1063284
public String getFormatName() {

        String result = "";
        if ((m_formatHandler != null) && (m_formatHandler.getCurrentFormat() != null)) {
            result = m_formatHandler.getCurrentFormat().getName();
        }
        return result;
    }
1293838
private function getFormattedValue(): string
    {
        return (string) is_numeric($this->value) ?
            $this->value :
            sprintf('"%s"', $this->value);
    }
529262
public function getOutput()
    {
        // Persistent opening
        $bufferKey = get_class($this).$this->binary.$this->movieFile;

        if (true === $this->persistent
            && array_key_exists($bufferKey, self::$persistentBuffer)
        ) {
            return self::$persistentBuffer[$bufferKey];
        }

        return $this->output;
    }
955515
protected function getFieldFormat()
    {
        $format = $this->localeFormat->getPriceFormat();

        $attribute = $this->getFilter()->getAttributeModel();

        $format['pattern']           = (string) $attribute->getDisplayPattern();
        $format['precision']         = (int) $attribute->getDisplayPrecision();
        $format['requiredPrecision'] = (int) $attribute->getDisplayPrecision();
        $format['integerRequired']   = (int) $attribute->getDisplayPrecision() > 0;

        return $format;
    }
755719
public function ToString()
	{
		$result = "";
		$format = "H:i:s";

		if ( ! @empty( $this->Value->microseconds != 0 ) )
		{
			$format .= "." . rtrim( $this->Value->microseconds, "0" );
		}

		if ( ! $this->IsLocal )
		{
			$format .= $this->Value->getOffset() == 0
	   		 	? "\Z"
	   			: "P";
		}

		return $this->Value->format( $format );
	}
312395
public function getFormatted(): string
    {
        return $this->format(
            [
                $this->getTitle(),
                $this->getFirstName(),
                $this->format($this->middleNames),
                $this->getLastName(),
                $this->getSuffix(),
            ]
        );
    }
694169
public function render()
    {
        if (!$this->checkAnsiAwareSystem()) {
            return $this->str;
        }

        if ($this->has_tags) {
            return $this->tag_format->parse($this->str);
        } elseif (!empty($this->str)) {
            $this->output->useEffect($this->format);
            return $this->output->build();
        }

        return $this->str;
    }
711754
public function getOutput()
    {
        if (!isset($this->output)) {
            $this->output = new ShellOutput(
                ShellOutput::VERBOSITY_NORMAL,
                $this->getOutputDecorated(),
                null,
                $this->getPager()
            );
        }

        return $this->output;
    }