protected function execute(InputInterface $input, OutputInterface $output)
{
$this->_input = $input;
$this->_output = $output;
$this->detectMagento($this->_output, true);
if (false === $this->initMagento()) {
throw new RuntimeException('Magento could not be loaded');
}
$this->checkModel();
$this->checkClassFileName();
$this->initTableColumns();
$this->writeToClassFile();
$this->_output->writeln("Wrote getter and setter @methods into file: " . $this->_fileName);
}