protected function getFormat()
    {
        if ($this->input->hasOption('format') && $this->input->getOption('format')) {
            return strtolower($this->input->getOption('format'));
        }

        return null;
    }
protected function getFormat()
    {
        if ($this->input->hasOption('format') && $this->input->getOption('format')) {
            return strtolower($this->input->getOption('format'));
        }

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

@return string|null
Get the user - specified format .