Command/MessageCommand.php
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->init($input);
        $function = $input->getArgument('function');

        switch ($function) {
            case 'migrate':
                $this->migrate($output);
                break;
        }
        $this->end($output);

        return true;
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->init($input);
        $function = $input->getArgument('function');

        switch ($function) {
            case 'migrate':
                $this->migrate($output);
                break;
        }
        $this->end($output);

        return true;
    }
@param InputInterface $input
@param OutputInterface $output

@return bool|int|null