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