Platformsh\Cli\Util\Table::getFormat PHP Method

getFormat() protected method

Get the user-specified format.
protected getFormat ( ) : string | null
return string | null
    protected function getFormat()
    {
        if ($this->input->hasOption('format') && $this->input->getOption('format')) {
            return strtolower($this->input->getOption('format'));
        }
        return null;
    }